aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index f47a0b79e..19bc9dd40 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -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);