Home GnuPG
Diffusion GnuPG 1ac189f2df6c

card: Print PIN descriptions and fix number of printed retry counters.

Description

card: Print PIN descriptions and fix number of printed retry counters.

* tools/gpg-card.h (struct card_info_s): Add fields nmaxlen, nchvinfo,
and chvlabels.
* tools/card-call-scd.c (release_card_info): Free chvlabels.
(learn_status_cb): Parse CHV-LABEL.  Set nmaxlen and nchvinfo.
* tools/gpg-card.c (list_retry_counter): Print CHV labels.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 18 2021, 11:29 AM
Parents
rGef29a960bf06: scd:p15: New attribute CHV-LABEL.
Branches
Unknown
Tags
Unknown