Resetting an OpenPGP smart card "bricks" it

Peter Lebbing peter at
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).




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 

More information about the Gnupg-users mailing list