On Mar 2, 2009, at 2:13 PM, David Markey wrote:

Michael Bender wrote:
Hi David,

Does anyone know if its possible to use solaris/linux/windows and a DELL usb smartcard reader to get the payflex ID off a sun smart card? if so
how is it done.

Sure but you'll have to write some code. If you're comfortable
with that, have a look at the Payflex-All.cfg smartcard config
file on your local Sun Ray server and read the comments in there.
The key things that you want to do are:

# Unique ID Information for the Payflex Family
#
#    All versions of the card have a file under the top directory
#    which contains an 8-byte vendor-supplied unique card ID. To
#    retrieve this unique card ID, perform the following operations:
#
#    1. SELECT FILE (File ID: 0x0002)
#          APDU = 00a40000020002
#
#    2. READ RECORD (expect 8 bytes returned)
#          APDU = 00b2000008
#
#    The eight bytes returned from the READ RECORD command are used
#    as the token ID.

You don't have to try to identify the card as a Payflex card since
you already know it's a Payflex card (I'm assuming that by your
question).

So basically you need to select the file ID 0002 and then do a
READ RECORD which will return 8 bytes. It might be that some newer
versions of the Payflex family return more than 8 bytes, in which
case just use the first eight as the Token ID.

mike

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
Hmm.. I have no problem with shell scripts, I assume you're talking
about C/C++?

Well, not necessarily C/C++, you can use any language that can talk
to the smartcard and exchange APDUs. You could also have a look at
the MUSCLE project site for some tools that can help you exchange
APDUs with the card:

    http://www.linuxnet.com/middle.html

mike



_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to