gpg: Add experimental support for an issuer fpr.
authorWerner Koch <wk@gnupg.org>
Mon, 20 Jun 2016 21:58:16 +0000 (23:58 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 20 Jun 2016 21:59:18 +0000 (23:59 +0200)
commit955baf04364721457cd99aad21942523cd50498c
tree1d1746bde9fd38230261943f1c870eea9dc58dbd
parentee2d9061d7abc36b857165a8395203a97380baa2
gpg: Add experimental support for an issuer fpr.

* common/openpgpdefs.h (SIGSUBPKT_ISSUER_FPR): New.
* g10/build-packet.c (build_sig_subpkt_from_sig): Add arg PKSK and
insert the issuer fpr if needed.
* g10/sign.c (write_signature_packets): Pass signing key.
(make_keysig_packet): Ditto.
(update_keysig_packet): Ditto.
* g10/parse-packet.c (dump_sig_subpkt): Print issuer fpr.
(parse_one_sig_subpkt): Detect issuer fpr.
(can_handle_critical): Add issuer fpr.
* g10/mainproc.c (check_sig_and_print): Try to get key via fingerprint.
* g10/gpgv.c (keyserver_import_fprint): New stub.
* g10/test-stubs.c (keyserver_import_fprint): New stub.
--

This support is enabled with the --rfc4880bis option and intended to
test to recently proposed issuer fpr.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/openpgpdefs.h
g10/build-packet.c
g10/gpgv.c
g10/mainproc.c
g10/packet.h
g10/parse-packet.c
g10/sign.c
g10/test-stubs.c