Home GnuPG
Diffusion GnuPG d770715e1574

gpgsm: Allow ECC encryption keys with just keyAgreement specified.

Description

gpgsm: Allow ECC encryption keys with just keyAgreement specified.

* sm/certlist.c (cert_usage_p): Allow keyAgreement for ECC.
* sm/fingerprint.c (gpgsm_is_ecc_key): New.

For ECC encryption keys keyAgreement is the keyUsage we want.

Details

Provenance
wernerAuthored on Oct 24 2022, 5:38 PM
Parents
rG1cdb67d41a41: gpgsm: Use macro constants for cert_usage_p.
Branches
Unknown
Tags
Unknown
Tasks
T6253: GpgSM: Backport ECC support to 2.2