OpenPGP Card - general error unblocking PIN

Tiago Faria tiago at xroot.org
Wed Aug 25 21:47:17 CEST 2010


Hi list,

I've been giving the OpenPGP card a try, and a ran into a problem when
changing/unblocking my PIN.

After a few Google searches I noticed other people also experienced this
problem, however, I couldn't find a solution.

GnuPG is version 1.4.9 and I'm using the second version of the card. 

I've included the debug information of the passwd > unblock PIN
command, even though the Change PIN doesn't work either:

------- Debug Log -------

Command> passwd
gpg: DBG: send apdu: c=00 i=CA p0=00 p1=C4 lc=-1 le=256
gpg: DBG:   PCSC_data: 00 CA 00 C4 00
gpg: DBG:  response: sw=9000  datalen=7
gpg: DBG:       dump:  01 20 20 20 03 00 03
gpg: DBG: send apdu: c=00 i=CA p0=00 p1=7A lc=-1 le=256
gpg: DBG:   PCSC_data: 00 CA 00 7A 00
gpg: DBG:  response: sw=9000  datalen=5
gpg: DBG:       dump:  93 03 00 00 00
gpg: OpenPGP card no. D2760001240102000005000006DF0000 detected

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
Q - quit

Your selection? 2
gpg: DBG: send apdu: c=00 i=CA p0=00 p1=C4 lc=-1 le=256
gpg: DBG:   PCSC_data: 00 CA 00 C4 00
gpg: DBG:  response: sw=9000  datalen=7
gpg: DBG:       dump:  01 20 20 20 03 00 03
gpg: 3 Admin PIN attempts remaining before card is permanently locked

Admin PIN
gpg: DBG: send apdu: c=00 i=20 p0=00 p1=83 lc=8 le=-1
gpg: DBG:   PCSC_data: 00 20 00 83 08 31 32 33 34 35 36 37 38
gpg: DBG:  response: sw=9000  datalen=0
gpg: DBG:      dump:  

New PIN
               
New PIN
gpg: DBG: send apdu: c=00 i=2C p0=02 p1=81 lc=6 le=-1
gpg: DBG:   PCSC_data: 00 2C 02 81 06 31 31 31 31 31 31
gpg: DBG:  response: sw=9000  datalen=0
gpg: DBG:      dump:  
gpg: DBG: send apdu: c=00 i=2C p0=02 p1=82 lc=6 le=-1
gpg: DBG:   PCSC_data: 00 2C 02 82 06 31 31 31 31 31 31
gpg: DBG:  response: sw=6A88  datalen=0
Error unblocking the PIN: general error

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
Q - quit

------- Debug Log -------

One thing I also noticed is that the PIN retry counter has the
following values: 3 0 3

According to the documentation, the first value and second should be in
sync.

Any tips would be appreciated. Thank you very much for any help.

Tiago
-- 
Tiago Faria [ tiago at xroot.org ]

PGP Key ID: 0xB9466FB4 | http://xroot.org/contact
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: </pipermail/attachments/20100825/643d4414/attachment.pgp>


More information about the Gnupg-users mailing list