Hy!

I am creating a smartcard which uses a transport pin to activate its
regular pin (and puk). At the moment, I first send a VERIFY command on the
transport pin and after that was succesful, I can use CHANGE REFERENCE
DATA on the normal PIN. I use the secure pin entry capability with
SCardControl.

My problem is: The transport pin must have a usecount value of just 1, so
if I make some error upon entering the regular pin (like a typo upon
confirmation, or pressing cancel) the transport pin and with it the rest
of the card is irreversibly blocked.

What I would need is to somehow be able to send both SCardControl commands
in a bulk only after transport pin plus the desired new pin has been
entered fully. This seems to be possible (I have got a little tool from
Siemens (the card's manufacturer) which does just that, at least under
windows)., but I can't find anything in the pcsc-lite or the pc/sc
documentation.

cheers
Mathias

_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to