|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[Muscle] OpenSC problem with PCSC-Lite
From: Geoffrey Elgey (gelgey
vintela.com)
Date: Sat Apr 09 2005 - 01:49:25 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
G'day,
[cross-posted at opensc-user]
I've got a Reflex USB v.2 reader, reflashed to look like a SCM 331
reader, and I've installed the CCID driver for this reader. I'm running
pcsc-lite daemon, which recognizes the reader and the card I have in it.
The testpcsc program also passes. So at this stage, pcsc-lite seems to
be functioning okay.
But I'm running into a problem with OpenSC, and I don't know whether
this is an OpenSC configuration problem or a pcsc-lite configuration
problem. I figure it's more likely a problem with my OpenSC
configuration, but it's worth asking here just in case there's somehting
missing from my pcsc-lite configuration.
I've configured and built OpenSC as per the QUICKSTART guide:
$ ./configure --prefix=/usr/ --sysconfdir=/etc/
...
OpenSC has been configured with the following options
User binaries: /usr//bin
Configuration files: /etc/
Host: i686-pc-linux-gnu
Compiler: gcc
Compiler flags: -Wall -fno-strict-aliasing -g -O2
Preprocessor flags: -I${top_builddir}/src/include -I/usr//include
Linker flags: -L/usr//lib
Libraries: -lpthread
Random number collection: device (/dev/urandom)
OpenSSL support: yes
with engine: yes
PC/SC support: yes
OpenCT support: no
Assuan support: no
LDAP support: yes
PAM support: yes
$ ls /usr/local/lib/opensc/
engine_opensc.a engine_opensc.so engine_pkcs11.la
engine_opensc.la engine_pkcs11.a engine_pkcs11.so
(Note: /usr/local/lib/opensc is in /etc/ld.so.conf)
I've installed OpenSC, and the QUICKSTART guide also mentions that I
shouldn't have to provide any configuration settings. The QUICKSTART
guide then mentions that I should run opensctool --list-readers, but I
get the following:
Failed to establish context: No readers found
Similarly for --list-drivers and --list-rdrivers.
Can anyone provide guidance on what I'm doing wrong in OpenSC? Should I
be modifying my pcsc-lite installation, or modifying my OpenSC
configuration?
-- Geoff
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]