1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

scd:p15: Return labels for keys and certificates.

* scd/app-p15.c (send_certinfo): Extend certinfo.
(do_getattr): Support KEY-LABEL.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2021-03-30 17:25:24 +02:00
parent 651c07a730
commit 7f91263632
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 71 additions and 7 deletions

View file

@ -458,7 +458,7 @@ static const char hlp_learn[] =
"to the keypair info, information about all certificates stored on the\n"
"card is also returned:\n"
"\n"
" S CERTINFO <certtype> <hexstring_with_id>\n"
" S CERTINFO <certtype> <keyref> [<label>]\n"
"\n"
"Where CERTTYPE is a number indicating the type of certificate:\n"
" 0 := Unknown\n"