RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1592875 - HID OmniKey 3121 reader does not detect DoD Alternate Token
Summary: HID OmniKey 3121 reader does not detect DoD Alternate Token
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcsc-lite-ccid
Version: 7.5-Alt
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Bob Relyea
QA Contact: Asha Akkiangady
URL:
Whiteboard:
: 1678361 (view as bug list)
Depends On:
Blocks: 1694581
TreeView+ depends on / blocked
 
Reported: 2018-06-19 13:53 UTC by Roshni
Modified: 2019-08-06 13:10 UTC (History)
6 users (show)

Fixed In Version: pcsc-lite-ccid-1.4.10-15.el7.src.rpm
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1694581 (view as bug list)
Environment:
Last Closed: 2019-08-06 13:10:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2248 0 None None None 2019-08-06 13:10:27 UTC

Description Roshni 2018-06-19 13:53:10 UTC
Description of problem:
HID OmniKey 3121 reader does not detect DoD Alternate Token

Version-Release number of selected component (if applicable):
coolkey-1.1.0-37.50.el7_5.x86_64

How reproducible:
always

Steps to Reproduce:
1. Insert the Alt token into the HID OmniKey 3121 reader
2.
3.

Actual results:
The smartcard is not detected

Expected results:


Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1570524#c11 has the log information.

Comment 6 Jakub Jelen 2018-12-05 17:11:50 UTC
If it works with Coolkey (can you check?), it will probably be some issue in OpenSC. Can you provide a debug log from the failing reader? Can you reproduce it with the pkcs11-tool -L?

From the log you say there are two different readers, but they have the same identification? What is the difference between the readers?

Comment 7 Roshni 2019-01-03 19:19:53 UTC
I am seeing the issue with the reader using both coolkey and opensc

[root@dhcp129-28 ~]# pkcs11-tool -L
Available slots:
Slot 0 (0x0): OMNIKEY AG 3121 USB 00 00
C_GetTokenInfo() failed: rv = CKR_TOKEN_NOT_PRESENT
[root@dhcp129-28 ~]# pkcs11-tool -L
Available slots:
Slot 0 (0x0): OMNIKEY AG 3121 USB 00 00
C_GetTokenInfo() failed: rv = CKR_TOKEN_NOT_PRESENT
[root@dhcp129-28 ~]# pkcs11-tool -L
Available slots:
Slot 0 (0x0): OMNIKEY AG CardMan 3121 00 00
  token label        : CAC II (alt.Smith.Bernice.123456
  token manufacturer : Common Access Card
  token model        : PKCS#15 emulated
  token flags        : login required, rng, token initialized, PIN initialized
  hardware version   : 0.0
  firmware version   : 0.0
  serial num         : 00000000
[root@dhcp129-28 ~]# modutil -list -dbdir /etc/pki/nssdb/

Listing of PKCS #11 Modules
-----------------------------------------------------------
  1. NSS Internal PKCS #11 Module
	   uri: pkcs11:library-manufacturer=Mozilla%20Foundation;library-description=NSS%20Internal%20Crypto%20Services;library-version=3.36
	 slots: 2 slots attached
	status: loaded

	 slot: NSS Internal Cryptographic Services
	token: NSS Generic Crypto Services
	  uri: pkcs11:token=NSS%20Generic%20Crypto%20Services;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

	 slot: NSS User Private Key and Certificate Services
	token: NSS Certificate DB
	  uri: pkcs11:token=NSS%20Certificate%20DB;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

  2. CoolKey PKCS #11 Module
	library name: libcoolkeypk11.so
	   uri: pkcs11:library-manufacturer=Mozilla%20Foundation;library-description=CoolKey%20PKCS%20%2311%20Module%20%20%20%20%20;library-version=1.0
	 slots: 1 slot attached
	status: loaded

	 slot: OMNIKEY AG CardMan 3121 00 00
	token: alt.Smith.Bernice.1234567890
	  uri: pkcs11:token=alt.Smith.Bernice.1234567890
-----------------------------------------------------------
[root@dhcp129-28 ~]# pkcs11-switch opensc

WARNING: Performing this operation while the browser is running could cause
corruption of your security databases. If the browser is currently running,
you should exit browser before continuing this operation. Type 
'q <enter>' to abort, or <enter> to continue: ^C
[root@dhcp129-28 ~]# modutil -list -dbdir /etc/pki/nssdb/

Listing of PKCS #11 Modules
-----------------------------------------------------------
  1. NSS Internal PKCS #11 Module
	   uri: pkcs11:library-manufacturer=Mozilla%20Foundation;library-description=NSS%20Internal%20Crypto%20Services;library-version=3.36
	 slots: 2 slots attached
	status: loaded

	 slot: NSS Internal Cryptographic Services
	token: NSS Generic Crypto Services
	  uri: pkcs11:token=NSS%20Generic%20Crypto%20Services;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

	 slot: NSS User Private Key and Certificate Services
	token: NSS Certificate DB
	  uri: pkcs11:token=NSS%20Certificate%20DB;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

  2. CoolKey PKCS #11 Module
	library name: libcoolkeypk11.so
	   uri: pkcs11:library-manufacturer=Mozilla%20Foundation;library-description=CoolKey%20PKCS%20%2311%20Module%20%20%20%20%20;library-version=1.0
	 slots: 1 slot attached
	status: loaded

	 slot: OMNIKEY AG 3121 USB 00 00
	token: 
	  uri: pkcs11:
-----------------------------------------------------------
[root@dhcp129-28 ~]# pkcs11-switch opensc

WARNING: Performing this operation while the browser is running could cause
corruption of your security databases. If the browser is currently running,
you should exit browser before continuing this operation. Type 
'q <enter>' to abort, or <enter> to continue: 

Module "OpenSC PKCS #11 Module" added to database.
^[[AModule "CoolKey PKCS #11 Module" deleted from database.
[root@dhcp129-28 ~]# modutil -list -dbdir /etc/pki/nssdb/

Listing of PKCS #11 Modules
-----------------------------------------------------------
  1. NSS Internal PKCS #11 Module
	   uri: pkcs11:library-manufacturer=Mozilla%20Foundation;library-description=NSS%20Internal%20Crypto%20Services;library-version=3.36
	 slots: 2 slots attached
	status: loaded

	 slot: NSS Internal Cryptographic Services
	token: NSS Generic Crypto Services
	  uri: pkcs11:token=NSS%20Generic%20Crypto%20Services;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

	 slot: NSS User Private Key and Certificate Services
	token: NSS Certificate DB
	  uri: pkcs11:token=NSS%20Certificate%20DB;manufacturer=Mozilla%20Foundation;serial=0000000000000000;model=NSS%203

  2. OpenSC PKCS #11 Module
	library name: opensc-pkcs11.so
	   uri: pkcs11:library-manufacturer=OpenSC%20Project;library-description=OpenSC%20smartcard%20framework;library-version=0.16
	 slots: 1 slot attached
	status: loaded

	 slot: OMNIKEY AG 3121 USB 00 00
	token: 
	  uri: pkcs11:
-----------------------------------------------------------
[root@dhcp129-28 ~]# pkcs11-tool -L
Available slots:
Slot 0 (0x0): OMNIKEY AG 3121 USB 00 00
C_GetTokenInfo() failed: rv = CKR_TOKEN_NOT_PRESENT
[root@dhcp129-28 ~]# rpm -q opensc
opensc-0.16.0-10.20170227git777e2a3.el7.x86_64
[root@dhcp129-28 ~]# rpm -q coolkey
coolkey-1.1.0-40.el7.x86_64

Comment 8 Simo Sorce 2019-02-11 15:41:47 UTC
This issue was not selected to be included either in Red Hat Enterprise Linux 7.7 because it is seen either as low or moderate impact to a small amount of use-cases. The next release will be in Maintenance Support 1 Phase, which means that qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available. We will now close this issue, but if you believe that it qualifies for the Maintenance Support 1 Phase, please re-open; otherwise we recommend moving the request to Red Hat Enterprise Linux 8 if applicable.

Comment 11 Bob Relyea 2019-03-21 22:05:50 UTC
*** Bug 1678361 has been marked as a duplicate of this bug. ***

Comment 13 Bob Relyea 2019-03-21 22:57:20 UTC
Fixed in pcsc-lite-ccid-1.4.10-15.el7.src.rpm

Comment 20 errata-xmlrpc 2019-08-06 13:10:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2248


Note You need to log in before you can comment on or make changes to this bug.