]> git.ipfire.org Git - thirdparty/git.git/commit - gpg-interface.h
gpg-interface.c: support getting key fingerprint via %GF format
authorMichał Górny <mgorny@gentoo.org>
Mon, 22 Oct 2018 16:38:20 +0000 (18:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Oct 2018 23:00:09 +0000 (08:00 +0900)
commit3daaaabe7ed22c17bff04d19c711be427bd2e225
treea731b31651b54e0f23b079e10e8aeaf9b094aaf2
parent0b11a84e1ba26fa3c9995f19e224848d8afc9bcf
gpg-interface.c: support getting key fingerprint via %GF format

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 <mgorny@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
gpg-interface.c
gpg-interface.h
pretty.c
t/t7510-signed-commit.sh