pineapplevendor
pineapplevendor

Reputation: 41

Java Card not found by PC/SC or openSC

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.

Upvotes: 0

Views: 835

Answers (1)

pineapplevendor
pineapplevendor

Reputation: 41

Since posting the original question I have been able to use the reader after switching to a Linux system, downloading PCSC and CCID, Editing the ccid/readers/supported_readers.txt file to include "0x096E:0x060D:Feitian R502", and finally reinstalling CCID. Since this I've been able to use GPshell to communicate with the card.

Upvotes: 1

Related Questions