gpg-interface.c: obtain primary key fingerprint as well

Obtain the primary key fingerprint off VALIDSIG status message,
and expose it via %GP format.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Michał Górny
2018-10-22 18:38:21 +02:00
committed by Junio C Hamano
parent 3daaaabe7e
commit 4de9394dcb
4 changed files with 22 additions and 1 deletions

View File

@ -24,6 +24,7 @@ struct signature_check {
char *signer;
char *key;
char *fingerprint;
char *primary_key_fingerprint;
};
void signature_check_clear(struct signature_check *sigc);