On 22 Aug 2001 11:31:43 -0400, Jim Rees wrote:
> 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.
ok, I will look at them.
> 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.
it's possible. I noticed that sc7816 was trying to dynamically bind to
different function names. Even after changing the names to match my IFD
.so, things didn't seem to work. I knew pcsc-lite worked (formaticc) so
I chose to patch libsc7816.
> 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?
In my patched sc7816 yes, but my hardware software combination doesn't
seem to care. The extra byte value in my case is 0xff and I'm not sure
that value would correspond to an le.
> We have a bunch of Gemplus readers here, mostly Amex (gcr415) and VISA
> (gcr412). Does your driver work with these?
I have a few AMEX Blue cards. I've called them numerous times but I've
never received the reader so I cannot test my driver with them. AFAIK,
the AMEX readers are serial and the GPR400 is pcmcia. I bought it on
Ebay as part of the IBM SmartCard security kit.
I haven't explored the Blue yet. Have you?
> Anyone played with the VISA card yet?
haven't seen one.
-joe
***************************************************************
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
***************************************************************