aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pubkey-enc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-04-23 14:25:05 +0000
committerWerner Koch <[email protected]>2024-04-23 14:25:05 +0000
commit32ec480024b306508f77b1ebc720e2587df7b6c3 (patch)
tree6422685e59a03228837918c1218075a0e8811a91 /g10/pubkey-enc.c
parentRemove the deprecated gcry_set_log_handler. (diff)
downloadgnupg-32ec480024b306508f77b1ebc720e2587df7b6c3.tar.gz
gnupg-32ec480024b306508f77b1ebc720e2587df7b6c3.zip
gpg: Support encryption with kyber_bp256 and kyber_bp384
* common/openpgp-oid.c (oidtable): Support KEM for bp256 and bp384. * g10/pkglue.c (do_encrypt_kem): Ditto. -- GnuPG-bug-id: 6815 Note, this needs the very latest Libgcrypt to work properly
Diffstat (limited to 'g10/pubkey-enc.c')
-rw-r--r--g10/pubkey-enc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/pubkey-enc.c b/g10/pubkey-enc.c
index 470525a95..563077803 100644
--- a/g10/pubkey-enc.c
+++ b/g10/pubkey-enc.c
@@ -457,6 +457,9 @@ get_it (ctrl_t ctrl,
log_info (_("WARNING: cipher algorithm %s not found in recipient"
" preferences\n"), openpgp_cipher_algo_name (dek->algo));
+ /* if (!err && 25519 && openpgp_oidbuf_is_ed25519 (curve, len)) */
+ /* log_info ("Note: legacy OID was used for cv25519\n"); */
+
if (!err)
{
kbnode_t k;