mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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".
This commit is contained in:
parent
b58cf129f4
commit
338a5ecaa1
4 changed files with 31 additions and 7 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue