diff options
author | Werner Koch <wk@gnupg.org> | 2024-07-05 11:12:12 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-07-05 11:12:12 +0200 |
commit | 6a40cfa6c090c59faca1046ce5f21dd22e00d9d0 (patch) | |
tree | 3b1d1cb071d2308e1596d32a073607ca42ccbea5 /common/openpgpdefs.h | |
parent | gpgconf: Fix error in --show-versions due to recent spawn changes. (diff) | |
download | gnupg2-6a40cfa6c090c59faca1046ce5f21dd22e00d9d0.tar.xz gnupg2-6a40cfa6c090c59faca1046ce5f21dd22e00d9d0.zip |
gpg: Print a warning if the (draft) Kyber algorithm is used.
* g10/keygen.c (do_generate_keypair): Check for draf Kyber stuff.
Diffstat (limited to 'common/openpgpdefs.h')
-rw-r--r-- | common/openpgpdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/openpgpdefs.h b/common/openpgpdefs.h index bf11d597f..f05f83014 100644 --- a/common/openpgpdefs.h +++ b/common/openpgpdefs.h @@ -165,6 +165,7 @@ typedef enum PUBKEY_ALGO_RSA = 1, PUBKEY_ALGO_RSA_E = 2, /* RSA encrypt only (legacy). */ PUBKEY_ALGO_RSA_S = 3, /* RSA sign only (legacy). */ + /*PUBKEY_ALGO_KYBER = 8, Kyber (FIPS-203 final) */ PUBKEY_ALGO_ELGAMAL_E = 16, /* Elgamal encrypt only. */ PUBKEY_ALGO_DSA = 17, PUBKEY_ALGO_ECDH = 18, /* RFC-6637 */ |