Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th May 2011, 11:53 AM
crschimidt Offline
Registered User
 
Join Date: May 2011
Posts: 1
linuxfedorafirefox
Need help to detect Activkey on Fedora 14 64 bits

Hi,

I can't find the line mentioned to correct the issue as informed in the URL https://bugzilla.redhat.com/show_bug.cgi?id=688837:

[root@cschimidt3 coolkey]# grep CKYBuffer_Size slot.cpp | grep cert
CKYSize certSize = CKYBuffer_Size(&rawCert);
CKYBuffer_InitFromBuffer(&cert,&rawCert,1,CKYBuffe r_Size(&rawCert)-1);

I could see in the messages log that Activkey was detected:

May 26 11:38:11 cschimidt3 kernel: [ 1459.874074] usb 5-1: new low speed USB device using ohci_hcd and address 4
May 26 11:38:12 cschimidt3 kernel: [ 1460.030086] usb 5-1: New USB device found, idVendor=09c3, idProduct=0003
May 26 11:38:12 cschimidt3 kernel: [ 1460.030105] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 26 11:38:12 cschimidt3 kernel: [ 1460.030122] usb 5-1: Product: Token-USB
May 26 11:38:12 cschimidt3 kernel: [ 1460.030128] usb 5-1: Manufacturer: ActivCard S.A.

I figure out that pcsc_scan hang if openct it was started:

[root@cschimidt3 pcsc]# pcsc_scan
PC/SC device scanner
V 1.4.17 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.6.4
Scanning present readers...
Waiting for the first reader...

And pkcs11-dump list slot 1 as "E-Gate"

[root@cschimidt3 ~]# pkcs11-dump slotlist /usr/lib64/pkcs11/libcoolkeypk11.so

pkcs11-dump 0.3.4 - PKI Cryptoki token dump
Written by Alon Bar-Lev
Copyright (C) 2005-2006 Alon Bar-Lev.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 E-Gate 0 0

After stop openct and restar pcsc:

[root@cschimidt3 ]# pkcs11-dump slotlist /usr/lib64/pkcs11/libcoolkeypk11.so

pkcs11-dump 0.3.4 - PKI Cryptoki token dump
Written by Alon Bar-Lev
Copyright (C) 2005-2006 Alon Bar-Lev.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 SCM SCR 3340 ExpressCard54 [CCID Interface] (00000000000000) 00

But it's not possible see the Activkey TOKEN-USB.

[root@cschimidt3 linux]# export COOL_KEY_LOG_FILE=/tmp/cool.log

[root@cschimidt3 linux]# pkcs11_listcerts debug
DEBUG:pam_config.c:238: Using config file /etc/pam_pkcs11/pam_pkcs11.conf
DEBUG:pkcs11_lib.c:182: Initializing NSS ...
DEBUG:pkcs11_lib.c:192: Initializing NSS ... database=/etc/pki/nssdb
DEBUG:pkcs11_lib.c:210: ... NSS Complete
DEBUG:pkcs11_listcerts.c:69: loading pkcs #11 module...
DEBUG:pkcs11_lib.c:222: Looking up module in list
DEBUG:pkcs11_lib.c:225: modList = 0x12a16a0 next = 0x12b5d80
DEBUG:pkcs11_lib.c:226: dllName= <null>
DEBUG:pkcs11_lib.c:225: modList = 0x12b5d80 next = 0x0
DEBUG:pkcs11_lib.c:226: dllName= libcoolkeypk11.so
DEBUG:pkcs11_listcerts.c:77: initialising pkcs #11 module...
DEBUG:pkcs11_listcerts.c:94: no token available

[root@cschimidt3 linux]# cat /tmp/cool.log
Initialize called, hello 5
C_GetInfo called
C_GetSlotList called
calling IsConnected
card changed
cleared all sessions
isTokenPresent, card state is 0x1
C_GetSlotList called
calling IsConnected
card changed
cleared all sessions
isTokenPresent, card state is 0x1
Called C_GetSlotInfo
calling IsConnected
card changed
cleared all sessions
isTokenPresent, card state is 0x1
Called C_GetSlotInfo
calling IsConnected
card changed
cleared all sessions
isTokenPresent, card state is 0x1
C_CloseAllSessions(0x1) called
Finalizing...

[root@cschimidt3 ~]# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 138a:0007 DigitalPersona, Inc Fingeprint Reader
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 03f0:231d Hewlett-Packard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 007: ID 09c3:0003 ActivCard, Inc.
Bus 004 Device 004: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks
Bus 004 Device 003: ID 04e6:5119 SCM Microsystems, Inc. SCR3340 - ExpressCard54 Smart Card Reader
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 090c:1000 Feiya Technology Corp. Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[root@cschimidt3 ~]# rpm -q pcsc-lite coolkey ccid pam_pkcs11 ifd-egate
pcsc-lite-1.6.4-4.fc14.x86_64
coolkey-1.1.0-17.fc14.x86_64
ccid-1.4.0-2.fc14.x86_64
pam_pkcs11-0.6.2-6.fc14.x86_64
ifd-egate-0.05-22.x86_64

I'd appreciate any help

Thanks
Reply With Quote
Reply

Tags
activkey, bits, detect, fedora

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
32 bits livna packages on 64 bits fedora 8 RGB Using Fedora 3 25th June 2008 01:34 PM
fedora 64 bits HayZam Installation and Live Media 1 28th January 2007 05:44 PM
Firefox 64 bits and 32 bits Marcolux Using Fedora 1 24th May 2006 01:41 AM
building programs on FC5 (64 bits) for FC4 (64 bits) mtk Programming & Packaging 2 16th May 2006 06:36 AM
Main difference between 32 bits and 64 bits lvthn Using Fedora 4 11th June 2005 06:39 PM


Current GMT-time: 20:16 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat