* [gentoo-user] smartcard issues
@ 2011-04-16 19:33 99% deadeyes
0 siblings, 0 replies; 1+ results
From: deadeyes @ 2011-04-16 19:33 UTC (permalink / raw
To: gentoo-user
Hi all,
For logging in to servers we now use smartcards.
For windows this works fine, however for Linux and Mac OS X it doesn't.
The smartcards are from Raaktechnologies.
THis is the output of openct-tool atr:
Detected CCID Compatible
Card present, status changed
ATR: 3b f8 13 00 00 81 31 fe
So it seems that the card is detected.
HOwever when doing:
pkcs15-tool -D
[pkcs15-tool] reader-pcsc.c:896:pcsc_detect_readers:
SCardListReaders failed: 0x8010002e
[pkcs15-tool] reader-pcsc.c:1015:pcsc_detect_readers:
returning with: No readers found
Using reader with a card: CCID Compatible
[pkcs15-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit
[pkcs15-tool] apdu.c:394:do_single_transmit: unable to transmit APDU
[pkcs15-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit
[pkcs15-tool] apdu.c:394:do_single_transmit: unable to transmit APDU
[pkcs15-tool] card-default.c:66:autodetect_class:
APDU transmit failed: Generic reader error
[pkcs15-tool] card-default.c:113:default_init:
unable to determine the right class byte
[pkcs15-tool] card.c:202:sc_connect_card: driver 'Default driver
for unknown cards' init() failed: Card is invalid or cannot be handled
[pkcs15-tool] card.c:213:sc_connect_card:
unable to find driver for inserted card
[pkcs15-tool] card.c:228:sc_connect_card: returning with:
Card is invalid or cannot be
Failed to connect to card: Card is invalid or cannot be handled
I think that this tool has no driver for reading this card.
They supplied me with a library: libcmP11.so.
I tried adding it to opensc.conf and
got a message that it was not a valid driver.
Using pkcs11-tool:
pkcs11-tool -I \
--module /home/gvm/smartcard/raaksign-linux-471-x64/libcmP11.so
Cryptoki version 2.11
Manufacturer charismathics gmbh
Library cm PKCS#11 module (ver 4.8)
No slots.
So it seems that this is a pkcs11 library.
However I always get no slots and it
isn't usable on any rdesktop connection.
I have following packages and there use flags:
net-misc/rdesktop-1.6.0-r4 alsa ipv6 pcsc-lite rdpusb
dev-libs/openct-0.6.20-r1 Upcsc-lite usb
dev-libs/opensc-0.11.13-r2 openct pcsc-lite readline ssl zlib
sys-apps/pcsc-lite-1.7.2-r1 USE="(-usb)"
ldd of the library shows that all dependencies are met.
I have to say I have no experience using smartcards and
I am not sure how the different tools interact:
opensc-tool openct-tool pcscd pkcs11-tool pkcs15-tool,...
In the end what should be possible is login to an rdesktop connection.
On my previous portable I came somewhere
I actually could type in my pin code
(on the remote desktop) however after that it failed.
Now I can't even got it to work to that stage.
The SmartCard reader I have is one that is internally connected through usb:
Bus 002 Device 005: ID 0a5c:5801 Broadcom Corp. BCM5880
Secure Applications Processor with fingerprint swipe sensor
All help/troubleshooting tips/... are welcome!
Thanks in advance!
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-04-16 19:33 99% [gentoo-user] smartcard issues deadeyes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox