gpg: Tweak compliance checking for verification
authorWerner Koch <wk@gnupg.org>
Thu, 27 Jul 2017 14:22:36 +0000 (16:22 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 27 Jul 2017 14:22:36 +0000 (16:22 +0200)
commit6502bb0d2af5784918ebb74242fff6f0a72844bf
tree25458befbf68f758917cb08e6ff738765370b005
parent1bd22a85b4f06324037b3500d2fa8af62733c926
gpg: Tweak compliance checking for verification

* common/compliance.c (gnupg_pk_is_allowed): Rework to always allow
verification.
* g10/mainproc.c (check_sig_and_print): Print a con-compliant warning.
* g10/sig-check.c (check_signature2): Use log_error instead of
log_info.
--

We should be able to verify all signatures.  So we only print a
warning.  That is the same beheavour as for untrusted keys etc.

GnuPG-bug-id: 3311
Signed-off-by: Werner Koch <wk@gnupg.org>
common/compliance.c
g10/mainproc.c
g10/sig-check.c