Re: OpenCT - Aladdin eToken PRO

Steve Goldthorp <[email protected]> Sun, 27 May 2018 15:15:48 +1000
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
Entering my ATR returns 'Siemens CardOS M 4.01 (SLE66CX320P)'

All indications that I can see say it should be supported, but I cannot find any information on how to configure ‘things” to make it work…


I have rebuilt my FreeBSD system to use pcsc and installed ccid drivers (pkg install ccid), when I run opens-tools -l I get no readers found.

Attached is the log file




On 27 May 2018, at 12:52 am, Douglas E Engert <[email protected]> wrote:

How to get debugging info:

https://github.com/OpenSC/OpenSC/wiki/Using-OpenSC

Have you tried using pcsc in place of openct?

See if your card is supported:
https://github.com/OpenSC/OpenSC/wiki/Aladdin-eToken-PRO

Enter your ATR here for more info:
https://smartcard-atr.appspot.com

On 5/26/2018 7:33 AM, Steve Goldthorp wrote:
> Hello,
> I seem to be going around in circles trying to find out why my installation of openct and opensc don’t appear to be working.
> I’m using FreeBSD 11.1
> Below are the commands I’ve issued to try and see where it fails, but I really don’t know where to look next, any help will be greatly appreciated.
> --------------------
> ~ # dmesg | tail
> ugen0.4: <AKS eToken Pro 4254> at usbus0
> ~ # /usr/local/etc/rc.d/openct start
> Starting openct.
> ~ # openct-tool -v
> OpenCT 0.6.20
> ~ # openct-tool list
> 0 Aladdin eToken PRO
> ~ # openct-tool atr
> Detcted Aladdin eToken PRO
> Card present, status changed

> ATR: 3b f2 98 00 ff c1 10 31 fe 55 c8 03 15
> ~ # opensc-tool -i
> OpenSC 0.16.0 [gcc 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)]
> Enabled features: locking zlib openssl openct
> ~ # opensc-tool -l
> # Detected readers (openct)
> Nr.  Card  Features  Name
> 0    Yes             Aladdin eToken PRO
> 1    No              OpenCT reader (detached)
> ~ # opensc-tool -a
> Using reader with a card: Aladdin eToken PRO
> Failed to connect to card: Card command failed
> ~ # pkcs11-tool -lt
> error: PKCS11 function C_GetSlotInfo failed: rv = CKR_GENERAL_ERROR (0x5)
> Aborting.
> --------------------
> Thanks and Regards,
> Steve
> If you have received this message in error, please reply to this e-mail to notify the sender of its incorrect delivery, and then delete both it and your reply. Thank you.
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Opensc-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel

-- 

Douglas E. Engert  <[email protected]>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
opensc-debug.log (application/octet-stream, 1 KB)
0x801c16000 01:06:44.530 [opensc-tool] ctx.c:792:sc_context_create: ===================================
0x801c16000 01:06:44.530 [opensc-tool] ctx.c:793:sc_context_create: opensc version: 0.17.0
0x801c16000 01:06:44.530 [opensc-tool] reader-pcsc.c:815:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=1 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
0x801c16000 01:06:44.530 [opensc-tool] reader-pcsc.c:1283:pcsc_detect_readers: called
0x801c16000 01:06:44.530 [opensc-tool] reader-pcsc.c:1302:pcsc_detect_readers: Probing PC/SC readers
0x801c16000 01:06:44.530 [opensc-tool] reader-pcsc.c:1330:pcsc_detect_readers: Establish PC/SC context
0x801c16000 01:06:44.531 [opensc-tool] reader-pcsc.c:1325:pcsc_detect_readers: SCardListReaders failed: 0x8010002e
0x801c16000 01:06:44.531 [opensc-tool] reader-pcsc.c:1423:pcsc_detect_readers: returning with: -1101 (No readers found)
0x801c16000 01:06:44.531 [opensc-tool] ctx.c:870:sc_release_context: called
0x801c16000 01:06:44.531 [opensc-tool] reader-pcsc.c:896:pcsc_finish: called
smime.p7s (application/pkcs7-signature, 3.6 KB) - not displayed