Hello, On Aug 13, 2011, at 9:06 , Ludovic Rousseau wrote: > 2011/8/13 Chris Boyle <[email protected]>: >> On 13 August 2011 13:58, Martin Paljak <[email protected]> wrote: >>> Gemalto Pinpad (sold in kernelconcepts) is not really a pocket device, >>> but not as bulky as some alternatives either. And it should be a >>> decent reader. >> >> You can see at >> http://pcsclite.alioth.debian.org/ccid/supported.html#0x08E60x3478 >> what I meant about the PIN counter: "Does send a VERIFY PIN command >> with an empty PIN to get the number of remaining trials. This may be >> problematic with some smart cards like the Belgian eID card that does >> not support this and will decrement the counter" > > I don't know if this will be problematic with a OpenPGP v2 card. I > don't have this card so I can't test. > > You can try to send the APDU 00 20 00 00 to the card (using scriptor > [2] for example) and see what you get back. This ias a VERIFY command > [1] with no PIN code. > You should get a 63Cx answer with x the number of retry left.
I don't have the card in a card format, but CryptoStick fails the test: mrtn:~ martin$ opensc-tool -s "00 20 00 81" Using reader with a card: German Privacy Foundation Crypto Stick v1.2 00 00 Sending: 00 20 00 81 Received (SW1=0x69, SW2=0x82) mrtn:~ martin$ opensc-tool -s "00 20 00 81" Using reader with a card: German Privacy Foundation Crypto Stick v1.2 00 00 Sending: 00 20 00 81 Received (SW1=0x69, SW2=0x82) mrtn:~ martin$ opensc-tool -s "00 20 00 81" Using reader with a card: German Privacy Foundation Crypto Stick v1.2 00 00 Sending: 00 20 00 81 Received (SW1=0x69, SW2=0x82) mrtn:~ martin$ opensc-tool -s "00 20 00 81" Using reader with a card: German Privacy Foundation Crypto Stick v1.2 00 00 Sending: 00 20 00 81 Received (SW1=0x69, SW2=0x83) The counter is decreased. Maybe the card-sized card is different, I don't have it either. -- @MartinPaljak.net +3725156495 _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
