summaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-02-21 09:24:37 +0100
committerWerner Koch <wk@gnupg.org>2019-02-21 12:41:10 +0100
commit5e21ef2d556ca65b7869bf16ab465f3511601e1e (patch)
tree83ed1bf73f6d997bc2373c257d3eb125b5fa22e6 /scd/command.c
parentcard: Print the keyref in the listing. (diff)
downloadgnupg2-5e21ef2d556ca65b7869bf16ab465f3511601e1e.tar.xz
gnupg2-5e21ef2d556ca65b7869bf16ab465f3511601e1e.zip
scd: Extend KEYPAIRINFO by key usage info.
* scd/app-openpgp.c (send_keypair_info): Append usage string. * scd/app-piv.c (struct data_object_s): Remove column 'binary'. Add column 'usage'. (dump_all_do): Adjust for removed 'binary'. (send_keypair_and_cert_info): Append usage string. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index 237faf093..b4098e465 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -354,7 +354,7 @@ static const char hlp_learn[] =
"\n"
"are implemented. These strings are aliases for the AID\n"
"\n"
- " S KEYPAIRINFO <hexstring_with_keygrip> <hexstring_with_id>\n"
+ " S KEYPAIRINFO <hexstring_with_keygrip> <hexstring_with_id> [<usage>]\n"
"\n"
"If there is no certificate yet stored on the card a single 'X' is\n"
"returned as the keygrip. In addition to the keypair info, information\n"