2009/3/23 Shawn A. Geddis <geddis@apple.com>:
On Mar 17, 2009, at 12:10 PM, Henry B. Hotz wrote:
On Mar 16, 2009, at 6:22 PM, Shawn A. Geddis wrote:
OpenSC Tokend and ActiveIdentity Tokend can do that, but they can't unlock the card with a PIN.
Why can't they unlock the card ?
If I knew that I might try to fix it (in OpenSC anyway). ;-)
That raises the question of how you could find out what the problem is. Can you usefully attach a debugger to a tokend?
The best method for debugging communication with a card is to set the debugging level in the reader driver.
I would propose to use pcscd APDU debug facility instead. First kill pcscd then start is using "pcscd --foreground --apdu" Using the CCID driver debug will work but you will also have CCID headers and CCID frames you don't want to see. Debugging a PC/SC application should be added to a FAQ page on the SmartCardServices wiki. Bye -- Dr. Ludovic Rousseau