mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
card: Print the keyref in the listing.
* tools/gpg-card-tool.c (list_one_kinfo): Print the keyref. -- The named keys are nice but knowing the actual keyref mapping to them is also useful. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
5ecc7a0260
commit
3384ba6c1c
2 changed files with 2 additions and 1 deletions
|
@ -631,6 +631,7 @@ list_one_kinfo (key_info_t firstkinfo, key_info_t kinfo, estream_t fp)
|
|||
goto leave;
|
||||
}
|
||||
print_keygrip (fp, kinfo->grip);
|
||||
tty_fprintf (fp, " keyref .....: %s\n", kinfo->keyref);
|
||||
if (!scd_readkey (kinfo->keyref, &s_pkey))
|
||||
{
|
||||
char *tmp = pubkey_algo_string (s_pkey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue