mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Use algorithm id 22 for EdDSA.
* common/openpgpdefs.h (PUBKEY_ALGO_EDDSA): Change to 22. * g10/keygen.c (ask_curve): Reword the Curve25519 warning note. -- In the hope that the IETF will eventually assign 22 for EdDSA using the draft-koch-eddsa-for-openpgp-01 specs we start using this number.
This commit is contained in:
parent
3a896db26d
commit
83c2d2396c
7 changed files with 72 additions and 10 deletions
|
@ -2198,12 +2198,8 @@ ask_curve (int *algo, int both)
|
|||
{
|
||||
if (curves[idx].fix_curve)
|
||||
{
|
||||
log_info ("WARNING: Curve25519 is an experimental algorithm"
|
||||
" and not yet standardized.\n");
|
||||
log_info (" The key format will eventually change"
|
||||
" and render this key unusable!\n");
|
||||
log_info (" You also need a recent development version"
|
||||
" of Libgcrypt.\n");
|
||||
log_info ("WARNING: Curve25519 is not yet part of the"
|
||||
" OpenPGP standard.\n");
|
||||
|
||||
if (!cpr_get_answer_is_yes("experimental_curve.override",
|
||||
"Use this curve anyway? (y/N) ") )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue