diff options
| author | Werner Koch <[email protected]> | 2021-03-30 15:28:45 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2021-03-30 15:28:45 +0000 |
| commit | 0d6f276f61c583d776687029c715b1ee4280e4ed (patch) | |
| tree | 1c8fbd9c7170a6fbbe27e67764b882fb634236a5 /tools/make-dns-cert.c | |
| parent | scd:p15: Return labels for keys and certificates. (diff) | |
| download | gnupg-0d6f276f61c583d776687029c715b1ee4280e4ed.tar.gz gnupg-0d6f276f61c583d776687029c715b1ee4280e4ed.zip | |
card: Print the key's label if available.
* tools/gpg-card.h (struct key_info_s): Add field 'label'.
* tools/card-call-scd.c (learn_status_cb): Parse KEY-LABEL.
(scd_learn): Always request KEY-LABEL.
* tools/gpg-card.c (nullnone): New.
(list_one_kinfo, list_card): Use it. Print the label.
--
PKCS#15 defines label which help to understand for what a key is
intended. Print them.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/make-dns-cert.c')
0 files changed, 0 insertions, 0 deletions
