diff options
author | Werner Koch <[email protected]> | 2019-02-21 07:42:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-02-21 07:51:54 +0000 |
commit | 3384ba6c1c421cfa674dbd8294dc655d7320534e (patch) | |
tree | b045ce1df128c5e6c8d44e996c0ce7b28ae4dd8d | |
parent | scd: Don't let the "undefined" app cause a conflict error. (diff) | |
download | gnupg-3384ba6c1c421cfa674dbd8294dc655d7320534e.tar.gz gnupg-3384ba6c1c421cfa674dbd8294dc655d7320534e.zip |
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 <[email protected]>
-rw-r--r-- | tools/card-tool-yubikey.c | 2 | ||||
-rw-r--r-- | tools/gpg-card-tool.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/card-tool-yubikey.c b/tools/card-tool-yubikey.c index a03915abf..996bbf041 100644 --- a/tools/card-tool-yubikey.c +++ b/tools/card-tool-yubikey.c @@ -169,7 +169,7 @@ set_ul_config_value (struct ykapps_s *yk, * application and thus its transport again. */ 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; } diff --git a/tools/gpg-card-tool.c b/tools/gpg-card-tool.c index 2bc2e5f90..a13a6bdaf 100644 --- a/tools/gpg-card-tool.c +++ b/tools/gpg-card-tool.c @@ -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); |