From: Steve G. <ste...@ie...> - 2018-05-26 12:33:51
Attachments:
smime.p7s
|
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. |
From: Douglas E E. <dee...@gm...> - 2018-05-26 14:52:57
|
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 > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > -- Douglas E. Engert <DEE...@gm...> |
From: Steve G. <ste...@ie...> - 2018-05-27 05:16:05
Attachments:
smime.p7s
opensc-debug.log
|
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 |
From: Douglas E E. <dee...@gm...> - 2018-05-27 12:09:53
|
0x8010002e is SCARD_E_NO_READERS_AVAILABLE So it looks like pcscd is running, but it can not find any readers. Sounds like an install problem on FreeBSD Google for: pcsc FreeBSD no readers This shows a number if possible problems inclulding: https://forums.freebsd.org/threads/card-reader.53496/ pcscd also has some traces. see -d option It could also be a permission problem, some other application grabbing the reader before pcscd or as one of teh above says, the installation order: pcsc first, then CCID On 5/27/2018 12:15 AM, Steve Goldthorp wrote: > > 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 <dee...@gm...> 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 >> Ope...@li... >> 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 > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > -- Douglas E. Engert <DEE...@gm...> |