diff options
author | Werner Koch <[email protected]> | 2023-01-12 19:52:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-01-12 19:52:27 +0000 |
commit | 338a5ecaa1f11abf24514c8df994170bdb1018f4 (patch) | |
tree | 5c4d36719b79b0eefee2a7fb641eab4f2c414620 /common/compliance.h | |
parent | dirmngr: Cleanup of the no-Tor check with --gpgconf-* commands (diff) | |
download | gnupg-338a5ecaa1f11abf24514c8df994170bdb1018f4.tar.gz gnupg-338a5ecaa1f11abf24514c8df994170bdb1018f4.zip |
sm: Fix compliance checking for ECC signature verification.
* common/compliance.c (gnupg_pk_is_compliant): Also consider the
gcrypt vids for ECDSA et al.
(gnupg_pk_is_allowed): Ditto.
* sm/verify.c (gpgsm_verify): Consider the curve. Print a compliance
notice for a non-compliant key.
* sm/certchain.c (gpgsm_validate_chain): Silence the "switching to
chain model".
Diffstat (limited to 'common/compliance.h')
-rw-r--r-- | common/compliance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compliance.h b/common/compliance.h index 455efa544..ead11472c 100644 --- a/common/compliance.h +++ b/common/compliance.h @@ -45,7 +45,7 @@ enum gnupg_compliance_mode enum pk_use_case { PK_USE_ENCRYPTION, PK_USE_DECRYPTION, - PK_USE_SIGNING, PK_USE_VERIFICATION, + PK_USE_SIGNING, PK_USE_VERIFICATION }; /* Flags to distinguish public key algorithm variants. */ |