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>
This commit is contained in:

committed by
Junio C Hamano

parent
0b11a84e1b
commit
3daaaabe7e
@ -23,6 +23,7 @@ struct signature_check {
|
||||
char result;
|
||||
char *signer;
|
||||
char *key;
|
||||
char *fingerprint;
|
||||
};
|
||||
|
||||
void signature_check_clear(struct signature_check *sigc);
|
||||
|
Reference in New Issue
Block a user