1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Justus Winter be8ca88526
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 <justus@g10code.com>
2017-06-01 13:16:18 +02:00
..
2017-02-21 13:11:46 -05:00
2017-04-28 10:06:33 +09:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2017-03-27 16:21:02 +02:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2017-03-30 16:13:43 +02:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-06-01 13:16:18 +02:00
2017-04-12 14:47:30 +09:00
2017-01-05 20:43:40 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.