mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
card: Run factory-reset in locked stated.
* scd/command.c (reset_notify): Add option --keep-lock. (do_reset): Add arg keep_lock. (cmd_lock): Send progress status. * g10/call-agent.c (agent_scd_apdu): Add more pseudo APDUs. * g10/card-util.c (send_apdu): Ditto. (factory_reset): Use lock commands. -- This is required so that for example Kleopatra does not detect the RESET and issues a SERIALNO of its own, thus conflicting with our SERIALNO undefined. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
21d5323f5d
commit
7f765a98fd
4 changed files with 58 additions and 17 deletions
|
@ -1103,6 +1103,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
- learncard :: Send by the agent and gpgsm while learing
|
||||
the data of a smartcard.
|
||||
- card_busy :: A smartcard is still working
|
||||
- scd_locked :: Waiting for other clients to unlock the scdaemon
|
||||
|
||||
When <what> refers to a file path, it may be truncated.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue