gnupg/scd
Werner Koch 79bed504e5
card: Support factory reset for Yubikey PIV application.
* scd/app-common.h (struct app_ctx_s): Add field cardtype.
* scd/app.c (app_new_register): Set cardtype for yubikey.
(app_getattr): Add CARDTYPE.
(app_write_learn_status): Emit new attribute.
* scd/app-piv.c (do_getattr): Add CHV-USAGE.
(do_learn_status): Emit it.
* tools/card-tool.h (struct card_info_s): Add field cardtype.
* tools/card-call-scd.c (learn_status_cb): Parse "CARDTYPE".

* tools/gpg-card-tool.c (list_piv): Print PIN usage policy.
(list_card): Print card type.
(cmd_factoryreset): Implement for Yubikey with PIV.

Signed-off-by: Werner Koch <wk@gnupg.org>
2019-01-29 13:46:52 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
apdu.c scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
apdu.h scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
app-common.h card: Support factory reset for Yubikey PIV application. 2019-01-29 13:46:52 +01:00
app-dinsig.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-geldkarte.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
app-openpgp.c scd: Fix flushing of CA-FPR data objects 2019-01-25 09:38:44 +01:00
app-p15.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
app-piv.c card: Support factory reset for Yubikey PIV application. 2019-01-29 13:46:52 +01:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c card: Support factory reset for Yubikey PIV application. 2019-01-29 13:46:52 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Fix for USB INTERRUPT transfer. 2019-01-07 14:08:51 +09:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
command.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
iso7816.c scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
iso7816.h scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
scdaemon.h scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00