mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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. GnuPG-bug-id: 7014
This commit is contained in:
parent
68d9bc9c35
commit
03d53c88cc
6 changed files with 97 additions and 13 deletions
|
@ -2469,7 +2469,7 @@ agent_get_keyinfo (ctrl_t ctrl, const char *hexkeygrip,
|
|||
gpg_error_t err;
|
||||
char line[ASSUAN_LINELENGTH];
|
||||
struct keyinfo_data_parm_s keyinfo;
|
||||
char *s;
|
||||
const char *s;
|
||||
|
||||
memset (&keyinfo, 0,sizeof keyinfo);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue