summaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-10-28 21:01:23 +0200
committerWerner Koch <wk@gnupg.org>2016-10-28 21:01:51 +0200
commitb6f08dbb0b45059cdbbb5d9be9725e437f42a8cc (patch)
tree705d8fdfa8ad0d63e0782e5ed58bd7f3b8af973a /g10/mainproc.c
parentdirmngr: Fix signature checking. (diff)
downloadgnupg2-b6f08dbb0b45059cdbbb5d9be9725e437f42a8cc.tar.xz
gnupg2-b6f08dbb0b45059cdbbb5d9be9725e437f42a8cc.zip
gpg: Enable the Issuer Fingerprint from rfc4880bis
* g10/build-packet.c (build_sig_subpkt_from_sig): Always write the new Issuer Fingerprint sub-packet. * g10/mainproc.c (check_sig_and_print): Always consider that sub-packet. -- The specs for this sub-packet have been pushed to the OpenPGP WG's repo today. See-also: https://mailarchive.ietf.org/arch/msg/\ openpgp/GvPo2eSL9GW9WcGhOocY7KBa9FY Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index ce4c5951c..63f726097 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1748,7 +1748,7 @@ check_sig_and_print (CTX c, kbnode_t node)
write_status_text (STATUS_NEWSIG, NULL);
astr = openpgp_pk_algo_name ( sig->pubkey_algo );
- if (opt.flags.rfc4880bis && (issuer_fpr = issuer_fpr_string (sig)))
+ if ((issuer_fpr = issuer_fpr_string (sig)))
{
log_info (_("Signature made %s\n"), asctimestamp(sig->timestamp));
log_info (_(" using %s key %s\n"),
@@ -1853,7 +1853,6 @@ check_sig_and_print (CTX c, kbnode_t node)
* favor this over the WKD method (to be tried next), because an
* arbitrary keyserver is less subject to web bug like monitoring. */
if (gpg_err_code (rc) == GPG_ERR_NO_PUBKEY
- && opt.flags.rfc4880bis
&& (opt.keyserver_options.options&KEYSERVER_AUTO_KEY_RETRIEVE)
&& keyserver_any_configured (c->ctrl))
{