Resetting an OpenPGP smart card "bricks" it

Peter Lebbing peter at digitalbrains.com
Wed Mar 12 16:21:21 CET 2014


On 2014-03-12 14:54, Werner Koch wrote:
> pcsclite should have tool to send APDUs to a card.  My old gscutils 
> card
> tools have been replaced by scdaemon's APDU command.  You may find 
> them
> somewhere but using the tools from pcsc should be easier.

Back in January, in a similar situation, I found[1] someone had written 
a little python script[2] to send the APDU's. If the smartcard isn't 
pleased by the order of the two APDU's, try them in reverse order (the 
code is easy to read).

HTH,

Peter.

[1] 
http://lists.gnupg.org/pipermail/gnupg-users/2014-January/048836.html
[2] http://lists.gnupg.org/pipermail/gnupg-devel/2013-March/027518.html

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at 
<http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list