From 32ec480024b306508f77b1ebc720e2587df7b6c3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 23 Apr 2024 16:25:05 +0200 Subject: 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 --- g10/pubkey-enc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'g10/pubkey-enc.c') 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; -- cgit v1.2.3