Hi, > > The Towitioko driver ( with the Towitoko reader ) drops out a lot > later > when using the GPK-8000 card: > > � -> pcsc_pk_int_aut() returned 0x80100016: > [CMD] [ 0x80 0x88 0x00 0x00 0x80 ] > [RSP] [ ] > pc/sc error: Transaction failed. > > No Response - seems to be related a timin issue? >
The driver might be thinking this is a CASE 3 command (no input data, Le=0x80 output data), and triying to retrive 128 bytes of output data. The internal auth is instead a CASE 2 command (input data, no output data), so I think you should be sending 0x80=128 input bytes with the command (the challenge to encrypt). That's why the card (not the driver!) complains and becomes unresponsive. > > When using the Towitoko driver with the GPK-16000 card there is a > failure at soon at the beginning of the code: > > -> pcsc_erase_card() returned 0x80100016: > [CMD] [ 0xDB 0xDE 0x00 0x00 ] > [RSP] [ ] > pc/sc error: Transaction failed. > > No Response - seems also to be related to a timing issue? > I have no idea why the GPK-16000 does not respond to this command. Maybe the smartcard is not doing proper contact with the reader. You can try to remove and re-insert the card several times and see what happens. To get further information, please compile the driver with debug infomation enabled and run the pcsc in no daemon mode, so we can see where the transmission fails. Hope this helps. Carlos. __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
