Home GnuPG
Diffusion GnuPG 23a714598c24

gpg: Extend the ERRSIG status line with a fingerprint.

Description

gpg: Extend the ERRSIG status line with a fingerprint.

* g10/mainproc.c (issuer_fpr_raw): New.
(issuer_fpr_string): Re-implement using issuer_fpr_rtaw.
(check_sig_and_print): Don't free ISSUER_FPR.  Use ISSUER_FPR_RAW.
Use write_status_printf.  Extend ERRSIG status.

Modern OpenPGP implementations put the ISSUER_FPR into the signature
to make it easier to discover the, public needed to check the
signature. This is also useful in error messages and thus we add it.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 12 2018, 4:41 PM
Parents
rGe2bd152a928d: gpg: Relax printing of STATUS_FAILURE.
Branches
Unknown
Tags
Unknown