mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-14 08:13:25 +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
@ -169,7 +169,7 @@ set_ul_config_value (struct ykapps_s *yk,
|
|||||||
* application and thus its transport again. */
|
* application and thus its transport again. */
|
||||||
if (bitflag == YKAPP_USB_ENABLED && !(ul & (0x08|0x10|0x20)))
|
if (bitflag == YKAPP_USB_ENABLED && !(ul & (0x08|0x10|0x20)))
|
||||||
{
|
{
|
||||||
log_info ("Enabling PIV so that at least one CCI transport is enabled\n");
|
log_info ("Enabling PIV to have at least one CCID transport\n");
|
||||||
ul |= 0x10;
|
ul |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -631,6 +631,7 @@ list_one_kinfo (key_info_t firstkinfo, key_info_t kinfo, estream_t fp)
|
|||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
print_keygrip (fp, kinfo->grip);
|
print_keygrip (fp, kinfo->grip);
|
||||||
|
tty_fprintf (fp, " keyref .....: %s\n", kinfo->keyref);
|
||||||
if (!scd_readkey (kinfo->keyref, &s_pkey))
|
if (!scd_readkey (kinfo->keyref, &s_pkey))
|
||||||
{
|
{
|
||||||
char *tmp = pubkey_algo_string (s_pkey);
|
char *tmp = pubkey_algo_string (s_pkey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user