card: Print keyinfo for PIV cards.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Jan 2019 08:30:15 +0000 (09:30 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Jan 2019 08:32:20 +0000 (09:32 +0100)
commit9325c92284bb346d11c3591bb2ea88095989361a
tree7f2b164030bc746bebff089e157fee768b926048
parent237880175f59d372011cd2e20bb49726eeccf058
card: Print keyinfo for PIV cards.

* scd/app-piv.c (do_learn_status): Print CHV-STATUS.
* tools/card-tool.h (struct card_info_s): Rename chvretry to chvinfo.
* tools/card-call-scd.c (learn_status_cb): Depend CHV-STATUS on app
type.
* tools/gpg-card-tool.c (list_piv): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
scd/app-piv.c
tools/card-call-scd.c
tools/card-tool.h
tools/gpg-card-tool.c