Home GnuPG
Diffusion GPGME 478d1650bbef

core: For a failed verification return the sig's fingerprint.

Description

core: For a failed verification return the sig's fingerprint.

* src/verify.c (parse_new_sig): Parse the new ERRSIG fpr.

This works only when the signatures features an ISSUER_FPR sub-packet
and with GnuPG >= 2.2.7. If that is not the case the keyid is kept in
the FPR field.

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

Details

Provenance
wernerAuthored on Apr 12 2018, 8:26 PM
Parents
rMee8fad3ea0cb: tests: Avoid segv in run-verify due to Policy URLs
Branches
Unknown
Tags
Unknown