mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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. GnuPG-bug-id: 6253
This commit is contained in:
parent
1cdb67d41a
commit
d770715e15
3 changed files with 13 additions and 3 deletions
|
@ -283,6 +283,7 @@ char *gpgsm_get_keygrip_hexstring (ksba_cert_t cert);
|
|||
int gpgsm_get_key_algo_info (ksba_cert_t cert, unsigned int *nbits);
|
||||
int gpgsm_get_key_algo_info2 (ksba_cert_t cert, unsigned int *nbits,
|
||||
char **r_curve);
|
||||
int gpgsm_is_ecc_key (ksba_cert_t cert);
|
||||
char *gpgsm_pubkey_algo_string (ksba_cert_t cert, int *r_algoid);
|
||||
char *gpgsm_get_certid (ksba_cert_t cert);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue