scd: Better user interaction for factory-reset.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 16 Mar 2018 02:27:33 +0000 (11:27 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 16 Mar 2018 02:27:33 +0000 (11:27 +0900)
commit2c85e202bc30231b9555100dec0c490c60d7b88c
tree1e3a72dd7024b83b6723441479131b7e45784097
parentfd23a0524d8060ed12d87c679b7823686614aaee
scd: Better user interaction for factory-reset.

* g10/card-util.c (factory_reset): Dummy PIN size is now 32-byte.
Connect the card again at the last step.

--

Before the change, a user has to quit the session to continue.  Now,
it is possible to type RET in the session and see if it's really done.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/card-util.c