From 3daaaabe7ed22c17bff04d19c711be427bd2e225 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 22 Oct 2018 18:38:20 +0200 Subject: gpg-interface.c: support getting key fingerprint via %GF format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Support processing VALIDSIG status that provides additional information for valid signatures. Use this information to propagate signing key fingerprint and expose it via %GF pretty format. This format can be used to build safer key verification systems that verify the key via complete fingerprint rather than short/long identifier provided by %GK. Signed-off-by: Michał Górny Signed-off-by: Junio C Hamano --- gpg-interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gpg-interface.h') diff --git a/gpg-interface.h b/gpg-interface.h index acf50c4610..8ce614fc95 100644 --- a/gpg-interface.h +++ b/gpg-interface.h @@ -23,6 +23,7 @@ struct signature_check { char result; char *signer; char *key; + char *fingerprint; }; void signature_check_clear(struct signature_check *sigc); -- cgit v1.2.3