Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1613530

Summary: Unformatted cards not detected by ESC
Product: Red Hat Enterprise Linux 7 Reporter: Roshni <rpattath>
Component: coolkeyAssignee: Bob Relyea <rrelyea>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: mjahoda, mthacker
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: coolkey-1.1.0-40.el7 Doc Type: No Doc Update
Doc Text:
This fix was for a problem that was never shipped. No doc update needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:36:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roshni 2018-08-07 18:46:38 UTC
Description of problem:
Unformatted cards not detected by ESC.
This could be related to the fixes for https://bugzilla.redhat.com/show_bug.cgi?id=1480441 and https://bugzilla.redhat.com/show_bug.cgi?id=1570524

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

How reproducible:
always

Steps to Reproduce:
1. Insert an unformatted smartcard.
2.
3.

Actual results:
ESC does not prompt for phoneHome url.

Expected results:


Additional info:
[root@dhcp129-188 ~]# tail -f /tmp/coolkey.log
card changed
cleared all sessions
isTokenPresent, card state is 0x1
C_WaitForSlotEvent called
Called C_GetSlotInfo
calling IsConnected
card changed
cleared all sessions
isTokenPresent, card state is 0x1
C_WaitForSlotEvent called




Called C_GetSlotInfo
calling IsConnected
card changed
cleared all sessions
Called C_GetSlotInfo
calling IsConnected
card changed
cleared all sessions
time connect: Connect Time 8 ms
time connect: Read Slot 8 ms
time connect: Connect Time 8 ms
time connect: Read Slot 8 ms
time connect: connection status 9 ms
time connnect: Begin transaction 9 ms
CoolKey Select failed 0x6
init CACShMem:
init CACShMem: starting new cache valid=0 version=2  firstCert=255
cleared all sessions
refreshTokenState: Failed to load objects.
isTokenPresent, card state is 0x1
C_WaitForSlotEvent called
time connect: connection status 210 ms
time connnect: Begin transaction 210 ms
CoolKey Select failed 0x6
init CACShMem:
init CACShMem: starting new cache valid=0 version=2  firstCert=255
cleared all sessions
refreshTokenState: Failed to load objects.
isTokenPresent, card state is 0x1
C_WaitForSlotEvent called

Comment 5 Bob Relyea 2018-08-14 17:50:57 UTC
fixed in coolkey-1.1.0-40.el7

Comment 7 Roshni 2018-08-16 21:19:08 UTC
[root@dhcp129-188 ~]# rpm -qi coolkey
Name        : coolkey
Version     : 1.1.0
Release     : 40.el7
Architecture: x86_64
Install Date: Wed 15 Aug 2018 07:52:28 AM EDT
Group       : System Environment/Libraries
Size        : 304556
License     : LGPLv2
Signature   : (none)
Source RPM  : coolkey-1.1.0-40.el7.src.rpm
Build Date  : Tue 14 Aug 2018 01:54:35 PM EDT
Build Host  : x86-040.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/dogtagpki/coolkey/tree/redhat
Summary     : CoolKey PKCS #11 module

Unable to reproduce the issue in comment 0 using the above build.

Comment 9 errata-xmlrpc 2018-10-30 11:36:10 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-2018:3263