Home GnuPG
Diffusion GnuPG 03d53c88ccf5

gpg: Allow to create a Kyber key from keygrips.

Description

gpg: Allow to create a Kyber key from keygrips.

* agent/cvt-openpgp.c (extract_private_key): Support Kyber algorithms.
* common/openpgp-oid.c (map_gcry_pk_to_openpgp): Map KEM to Kyber.
* common/sexputil.c (get_pk_algo_from_key): Increase buffer for use
with "kyber1024".
* g10/call-agent.c (agent_get_keyinfo): Fix warning.
* g10/keygen.c (do_create_from_keygrip): Support Kyber.
(ask_algo): Ditto.

To test create a standard key and the use --edit-key and "addkey" with
selection 13 and use the comma delimited keygrips.

Details

Provenance
wernerAuthored on Apr 5 2024, 4:16 PM
Parents
rG68d9bc9c35bb: agent: Fix error handling of READKEY.
Branches
Unknown
Tags
Unknown
Tasks
T7014: agent: Enhancement of PKDECRYPT for KEM interface