diff options
author | Justus Winter <[email protected]> | 2017-05-30 12:30:24 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-06-01 11:16:18 +0000 |
commit | be8ca8852629786266db4d3d69b2c2fb03bd6365 (patch) | |
tree | 7f0b3de344c5ff6265c480b74b016d2799540605 /dirmngr/ks-engine-http.c | |
parent | common: Improve checking for compliance with CO_DE_VS. (diff) | |
download | gnupg-be8ca8852629786266db4d3d69b2c2fb03bd6365.tar.gz gnupg-be8ca8852629786266db4d3d69b2c2fb03bd6365.zip |
gpg: Report compliance with CO_DE_VS.
* common/compliance.c (gnupg_pk_is_compliant): Add DSA with certain
parameters.
(gnupg_cipher_is_compliant): New function.
(gnupg_digest_is_compliant): Likewise.
* common/compliance.h (gnupg_cipher_is_compliant): New prototype.
(gnupg_digest_is_compliant): Likewise.
* common/status.h (STATUS_DECRYPTION_COMPLIANCE_MODE): New status.
(STATUS_VERIFICATION_COMPLIANCE_MODE): Likewise.
* doc/DETAILS: Document the new status lines.
* g10/mainproc.c (proc_encrypted): Compute compliance with CO_DE_VS
and report that using the new status line.
(check_sig_and_print): Likewise.
* sm/decrypt.c (gpgsm_decrypt): Likewise.
* sm/verify.c (gpgsm_verify): Likewise.
--
When decrypting data and verifying signatures, report whether the
operations are in compliance with the criteria for data classified as
VS-NfD. This information will be picked up by the frontend and
presented to the user.
GnuPG-bug-id: 3059
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions