Wei Hu wrote:

Hi Doug,
I am still getting the "no readers found" error from opensc-tool after compiled pcsclite with --enable-scf and opensc with --with-pcsclite. Is there a conf file for solaris? Testpscs from pcsclite does show the reader information, but opensc-tool dosen't. This time ocfserv -D did produce some output when I started opensc-tool -l. I've attached the output in the email. Would you also send me the ocfserv -D output when you are doing
'opensc-tool -l' on your system so I can compare the results?


Looks like the problem is the Solaris smartcard reader is not setup:

Authenticated uid: 0
http_req return: <html><title>Solaris Smart Card Project</title>
<head>/OCF/OCFService/listReadersConfigured</head>
<body>OCFstatus=OCF_Success
list=
</body>


The list= should have some 20 charater base64 hash(?) or index.

Did you run this command:

smartcard -c admin -t terminal \
    -j com.sun.opencard.terminal.scm.SCMI2c.SCMI2cCardTerminalFactory \
    -x add -d /dev/scmi2c0 -r InternalReader -n SunISCRI

Do you have a /dev/scmi2c0

What does the
smartcard -c admin
show?

It should have a line with
OpenCard.terminals = 
com.sun.opencard.terminal.scm.SCM2c.SCMI2cCardTerminalFactory|InternalReader|SunSCRI|/dev/scmi2c0


Many thanks, Wei
I am trying to make it work on my solaris 9 box too. So far I've added the 
reader
and I want to know how you use opensc-tool to see a card. I am pretty new to
this area so some details are appreciated.


You had to build the pcsclite with --enable-scf
Then build the opensc  with the --with-pcsclite

Then with the Solaris /usr/sbin/ocfserv -D
running try:

opensc-tool -l
Readers known about:
Nr.   Driver   Name
0     pcsc     InternalReader

opensc-tool -a
should then show the ATR




------------------------------------------------------------------------

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

--

 Douglas E. Engert  <[EMAIL PROTECTED]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to