opensc returns 'no readers found'

View: New views
3 Messages — Rating Filter:   Alert me  

opensc returns 'no readers found'

by Fabiano Nunes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Why does pcsc_scan identifiy the reader and pkcs11-tool doesn't?

- pkcs11-tool -O
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning
with: No readers found
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning
with: No readers found
error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0)

- lsusb
Bus 003 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader

- pcsc_scan
PC/SC device scanner
V 1.4.15 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@...>
Compiled with PC/SC lite version: 1.4.102
Scanning present readers...
0: Gemplus GemPC Twin 00 00
Mon Sep 28 15:11:28 2009
Reader 0: Gemplus GemPC Twin 00 00
 Card state: Card inserted,
 ATR: 3B B7 94 00 81 31 FE 65 53 50 4B 32 33 90 00 D1
_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Re: opensc returns 'no readers found'

by Martin Paljak-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On 29.10.2009, at 20:49, Fabiano Nunes wrote:

> Why does pcsc_scan identifiy the reader and pkcs11-tool doesn't?
Can your OpenSC speak to pcsc-lite?
What operating system/distro are you using?

What is the output of "opensc-tool -R" and "opensc-tool -i"?
Does the file inside "pcsc(...)" exist?

--
Martin Paljak
http://martin.paljak.pri.ee
+372.515.6495




_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Re: opensc returns 'no readers found'

by Fabiano Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ubuntu karmic. (Before the update (jaunty), the reader was recognized.

- opensc-tool -R
[opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with:
No readers found
Configured reader drivers:
  pcsc             PC/SC reader
  ctapi            CT-API module

- opensc-tool -i
opensc 0.11.8 [gcc  4.4.0]
Enabled features: zlib iconv openssl openct
pcsc(/usr/lib/libpcsclite.so) nsplugin
[opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with:
No readers found

>> Does the file inside "pcsc(...)" exist?
The file /usr/lib/libpcsclite.so doesn't exists.
The package libpcsclite1 is installed.



On Thu, Oct 29, 2009 at 5:45 PM, Martin Paljak <martin@...> wrote:

>
>
>
> On 29.10.2009, at 20:49, Fabiano Nunes wrote:
>
>> Why does pcsc_scan identifiy the reader and pkcs11-tool doesn't?
>
> Can your OpenSC speak to pcsc-lite?
> What operating system/distro are you using?
>
> What is the output of "opensc-tool -R" and "opensc-tool -i"?

>
> --
> Martin Paljak
> http://martin.paljak.pri.ee
> +372.515.6495
>
>
>
>
>
_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user