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 902958

Summary: Firefox crash when certificates in PIV smart cards are viewed in certificate manager
Product: Red Hat Enterprise Linux 6 Reporter: Asha Akkiangady <aakkiang>
Component: coolkeyAssignee: Bob Relyea <rrelyea>
Status: CLOSED CURRENTRELEASE QA Contact: Asha Akkiangady <aakkiang>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: arubin, eparis
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-26 22:44:14 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:
Attachments:
Description Flags
Don't crash on bad certs. none

Description Asha Akkiangady 2013-01-22 19:42:12 UTC
Description of problem:
Firefox crash when certificates in PIV smart cards are viewed in certificate manager

Version-Release number of selected component (if applicable):
coolkey-1.1.0-26.el6

How reproducible:


Steps to Reproduce:

1. Plug in DOD PIV ECC cards 4, 5 or 15 on a Omnikey 3121 reader, view certificates in Firefox certificate manager (with coolkey installed) 
2. Enter the correct smart card pin. No Certificates displayed since there is no ECC cards support in coolkey.
3. Close Firefox browser.
4. Do not remove the smart card from the reader. Start Firefox browser.

Actual results:
Firefox crash. 

Expected results:
Firefox should not crash. It should request for smart card pin in the certificate manager. 


1. Plug in DOD PIV card (1,2,7,8,9,10,11,12,13 or 14) on a Omnikey 3121 reader, view certificates in Firefox certificate manager (with coolkey installed) 
2. Enter the correct smart card pin. Certificates displayed. 
3. Close Firefox browser.
4. Do not remove the smart card from the reader. Start Firefox browser.
5. View certificates in Certificate Manager request for smart card pin, enter the correct smart card pin and click ok.

Actual results:
Firefox crash. 

Expected results:
Certificates on the smart card should be displayed.

Additional info:

Comment 1 Bob Relyea 2013-01-22 19:56:11 UTC
Created attachment 685411 [details]
Don't crash on bad certs.

Here's a patch that fixes the problem.

I think it's appropriate for 6.4z.

Comment 3 RHEL Program Management 2013-01-26 06:47:15 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Bob Relyea 2015-01-15 22:09:08 UTC
dev_ack to investigate for 6.7

bob

Comment 6 Bob Relyea 2015-02-26 22:44:14 UTC
I believe the problem was actually a FF or NSS bug, but it is no longer an issue on RHEL 6.7 because NSS now supports ECC.

I have verified that you can view the certs on PIV test cards 4,5, and 15 as well as shutdown down firefox and restarting without removing the card with no crash.

bob