Home GnuPG
Diffusion GnuPG 92af3f88a9df

gpg: Pass ECDH parameters to OpenPGP smartcards

Description

gpg: Pass ECDH parameters to OpenPGP smartcards

* g10/call-agent.c (agent_keytocard): Add arg ecdh_param_str.
* g10/keyid.c (ecdh_param_str_from_pk): New.
* g10/card-util.c (card_store_subkey): Pass ECDH params to writekey.
* g10/keygen.c (card_store_key_with_backup): Ditto.

Backported from 2.4 - here the gpg part.

See-commit: c03ba92576e34f791430ab1c68814ff16c81407b
This is related to

Details

Provenance
wernerAuthored on Oct 27 2023, 1:56 PM
Parents
rGd03d0add1289: agent: Add optional ecdh parameter arg to KEYTOCARD.
Branches
Unknown
Tags
Unknown
Tasks
T6378: keytocard: invalid value