Home GnuPG
Diffusion GnuPG 6bd0dd762c0d

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
rG50efcf2eb0d1: gpgsm: Use macro constants for cert_usage_p.
Branches
Unknown
Tags
Unknown