diff options
author | Werner Koch <wk@gnupg.org> | 2014-12-15 17:38:40 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-12-15 17:38:40 +0100 |
commit | dd65e21cb4934b40e6f2f7a8095f39fd6d9971bc (patch) | |
tree | 789d4242e852d337de44a0195badb5e577a1ccae /doc | |
parent | gpg: Fix regression in notation data regression. (diff) | |
download | gnupg2-dd65e21cb4934b40e6f2f7a8095f39fd6d9971bc.tar.xz gnupg2-dd65e21cb4934b40e6f2f7a8095f39fd6d9971bc.zip |
gpg: Add sub-command "factory-reset" to --card-edit.
* common/util.h (GPG_ERR_OBJ_TERM_STATE): New.
* scd/iso7816.c (map_sw): Add this error code.
* scd/app-openpgp.c (do_getattr): Return the life cycle indicator.
* scd/app.c (select_application): Allow a return value of
GPG_ERR_OBJ_TERM_STATE.
* scd/scdaemon.c (set_debug): Print the DBG_READER value.
* g10/call-agent.c (start_agent): Print a status line for the
termination state.
(agent_scd_learn): Make arg "info" optional.
(agent_scd_apdu): New.
* g10/card-util.c (send_apdu): New.
(factory_reset): New.
(card_edit): Add command factory-reset.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DETAILS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/DETAILS b/doc/DETAILS index 9ad616c2a..ba2725fdb 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -765,6 +765,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB: - 4 :: No card available - 5 :: No card reader available - 6 :: No card support available + - 7 :: Card is in termination state *** SC_OP_FAILURE [<code>] An operation on a smartcard definitely failed. Currently there is |