1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Introduced the keygrip

This commit is contained in:
Werner Koch 2001-11-24 22:20:38 +00:00
parent 5a4cbaf443
commit f60dc501d2
3 changed files with 63 additions and 0 deletions

View file

@ -104,6 +104,9 @@ list_cert_colon (KsbaCert cert, FILE *fp)
p = gpgsm_get_fingerprint_hexstring (cert, GCRY_MD_SHA1);
fprintf (fp, "fpr:::::::::%s:\n", p);
xfree (p);
p = gpgsm_get_keygrip_hexstring (cert);
fprintf (fp, "grp:::::::::%s:\n", p?p:"");
xfree (p);
if (opt.with_key_data)
print_key_data (cert, fp);