Home GnuPG
Diffusion GnuPG 949663474526

card: Allow listing of NKS cards.

Description

card: Allow listing of NKS cards.

* tools/card-call-scd.c (learn_status_cb): Always fill chvinfo.
* tools/gpg-card.h (struct card_info_s): Increase size of chvinfo and
chvmaxlen.
* tools/gpg-card.c (list_nks): New.
(print_a_version): Support single part version numbers.
(list_card): Call list_nks.

Note that chvmaxlen is not yet used with NKS.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 7 2020, 7:47 PM
Parents
rG1f6a39092fe4: scd:nks: Add framework to support IDKey cards.
Branches
Unknown
Tags
Unknown