mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Allow "Kyber" as algorithm for the Subkey-Type keyword.
* g10/keygen.c (get_parameter_algo): Make "KYBER" to PUBKEY_ALGO_KYBER. -- GnuPG-bug-id: 7397
This commit is contained in:
parent
7e066f614a
commit
996e8ae3cb
@ -4551,6 +4551,8 @@ get_parameter_algo (ctrl_t ctrl, struct para_data_s *para, enum para_name key,
|
|||||||
i = PUBKEY_ALGO_ECDSA;
|
i = PUBKEY_ALGO_ECDSA;
|
||||||
else if (!ascii_strcasecmp (r->u.value, "ECDH"))
|
else if (!ascii_strcasecmp (r->u.value, "ECDH"))
|
||||||
i = PUBKEY_ALGO_ECDH;
|
i = PUBKEY_ALGO_ECDH;
|
||||||
|
else if (!ascii_strcasecmp (r->u.value, "KYBER"))
|
||||||
|
i = PUBKEY_ALGO_KYBER;
|
||||||
else
|
else
|
||||||
i = map_gcry_pk_to_openpgp (gcry_pk_map_name (r->u.value));
|
i = map_gcry_pk_to_openpgp (gcry_pk_map_name (r->u.value));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user