diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-22 18:38:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-23 08:00:09 +0900 |
commit | 3daaaabe7ed22c17bff04d19c711be427bd2e225 (patch) | |
tree | a731b31651b54e0f23b079e10e8aeaf9b094aaf2 /Documentation | |
parent | gpg-interface.c: use flags to determine key/signer info presence (diff) | |
download | tgif-3daaaabe7ed22c17bff04d19c711be427bd2e225.tar.xz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pretty-formats.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 6109ef09aa..8ab7d6dd1d 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -153,6 +153,7 @@ endif::git-rev-list[] and "N" for no signature - '%GS': show the name of the signer for a signed commit - '%GK': show the key used to sign a signed commit +- '%GF': show the fingerprint of the key used to sign a signed commit - '%gD': reflog selector, e.g., `refs/stash@{1}` or `refs/stash@{2 minutes ago`}; the format follows the rules described for the `-g` option. The portion before the `@` is the refname as |