mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -122,8 +122,8 @@ typedef enum
|
|||
PUBKEY_ALGO_ECDH = 18, /* RFC-6637 */
|
||||
PUBKEY_ALGO_ECDSA = 19, /* RFC-6637 */
|
||||
PUBKEY_ALGO_ELGAMAL = 20, /* Elgamal encrypt+sign (legacy). */
|
||||
|
||||
PUBKEY_ALGO_EDDSA = 105 /* EdDSA (cf. Ed25519) (experimental). */
|
||||
/* 21 reserved by OpenPGP. */
|
||||
PUBKEY_ALGO_EDDSA = 22 /* EdDSA (not yet assigned). */
|
||||
}
|
||||
pubkey_algo_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue