The past couple of days I also patched the CITI project's sc7816 library
to use pcsc-lite as a backend rather than loading pcsc-lite's IFD driver
shared objects directly.
We have completely changed the library and applications as a result of the
OpenBSD integration work. libsc7816 has been replaced by libsectok, and pay
has been replaced by sectok.
I did this so I could use 'pay' to
explore/program my Cyberflex Access cards. For some reason, I couldn't
get my GPR400 IFD shared object to work with the sc7816 library.
Maybe your driver supports IFD version 2, and sc7816 only support version 1?
If you find out the reason, please let me know.
In my testing, I've noticed that when I use 'pay' to select the master
file on my cards, it sends an 8-byte APDU. AFAIK, the Select File APDU
should be 7 bytes long.
The extra byte is le. I think this gets added in scrw(). I don't know
whether the IFD interface insists on this, but the towitoko driver does, so
that's why that's there. Is this byte actually getting sent to the card?
We have a bunch of Gemplus readers here, mostly Amex (gcr415) and VISA
(gcr412). Does your driver work with these?
Anyone played with the VISA card yet?
***************************************************************
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
***************************************************************