I've been trying to interact with a Java Card but so far I have not been successful. I've downloaded openSC, GlobalPlatform, and I've been using PCSC for OS X. Running
pcsctest
at the command line results in the following:
MUSCLE PC/SC Lite Test Program
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: Feitian R502 00 00
Enter the reader number : 01
Waiting for card insertion
at which point it stops; I do have a card inserted into the reader. Also, running
opensc-tool -n
returns
Card not present.
I have read this previous stackoverflow question: pkcs11 support for kona 25 javacard but I don't know how to find out if the card is blank, and load a PKI applet onto it if it is, if I cannot use any of the tools I've found to view the contents of a card. Could anyone suggest why, or how I might find out why , none of these tools are noticing the card that I have inserted into the reader. I'm using os x 10.9.2, a Feitian R502 reader whose product/vendor IDs I've added to the Info.plist in the ccid bundle, and a G+D smartcafe JavaCard.