diff options
author | Werner Koch <wk@gnupg.org> | 2023-02-21 12:14:31 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-02-21 12:14:31 +0100 |
commit | 71c11c20f41d660d468de642b33cdc330ff682c7 (patch) | |
tree | 316e1590c9c0494df8dbfc98d19584e97980a5eb /common/homedir.c | |
parent | gpg: New option --add-desig-revoker (diff) | |
download | gnupg2-71c11c20f41d660d468de642b33cdc330ff682c7.tar.xz gnupg2-71c11c20f41d660d468de642b33cdc330ff682c7.zip |
gpg: Prepare to accept shorter OIDs for ed25519 and cv25519.
* common/openpgp-oid.c (oidtable): Add them.
(oid_ed25519_v5, oid_cv25519_v5): New.
(openpgp_oidbuf_is_ed25519): Take new OID in account.
(openpgp_oidbuf_is_cv25519): Ditto.
--
ed25519 is used in GnuPG and other implementations since 2015 and thus
we can't simply switch to the shorter OIDs. However, we have not
widely used them with v5 keys (only ed448 forced the use of v5) and
thus it might be possible to use the new OIDs with v5 keys.
Note that Libgcrypt supports the new OIDs even in 1.8.
Diffstat (limited to 'common/homedir.c')
0 files changed, 0 insertions, 0 deletions