scd: Add option --clear to PASSWD.
authorWerner Koch <wk@gnupg.org>
Mon, 21 Jan 2019 13:06:51 +0000 (14:06 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 21 Jan 2019 13:06:51 +0000 (14:06 +0100)
commit29929e65521279eabc98a67c766fe485057405a9
treef26431890716048aef0f43d85efa3563046e7f15
parentec56996029d95d4bd26e1badfe207232270c6247
scd: Add option --clear to PASSWD.

* scd/command.c (cmd_passwd): Add option --clear.
(send_status_printf): New.
* scd/app-common.h (APP_CHANGE_FLAG_CLEAR): New.
* scd/app-nks.c (do_change_pin): Return an error if that option is
used.
* scd/app-openpgp.c (do_change_pin): Ditto.
--

Card application may support this option to clear the PIN verification
status of a specific PIN.

Signed-off-by: Werner Koch <wk@gnupg.org>
po/Makevars
scd/app-common.h
scd/app-nks.c
scd/app-openpgp.c
scd/app.c
scd/command.c
scd/scdaemon.h