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 1422165

Summary: Export CERT_CompareAVA, and Export PK11_HasAttributeSet, required by Firefox to distinguish Mozilla Policy CAs [RHEL 7.x]
Product: Red Hat Enterprise Linux 7 Reporter: Kai Engert (:kaie) (inactive account) <kengert>
Component: nssAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Alicja Kario <hkario>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: hkario, kengert, pwouters, szidek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nss-3.28.3-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 16:50:07 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:
Bug Depends On:    
Bug Blocks: 1414564    
Attachments:
Description Flags
nss-util-1334976-1336487.patch
none
nss-1334976-1336487-1345083.patch none

Description Kai Engert (:kaie) (inactive account) 2017-02-14 15:50:53 UTC
In order to fix bug 1414564, we require that NSS exports function PK11_HasAttributeSet.

It's required to allow Firefox to query p11-kit-trust (or libnssckbi) for the new pkcs#11 attribute, that allows it to distinguish between Mozilla Policy CAs and locally installed CAs.

The linked upstream bug will export that API in NSS 3.30.

We need to decide if this can be backported to NSS 3.28.x without rebasing.
(We probably can, by using the correct version number 3.30 in the nss.def file, IIRC we have done similar things in the past.)

Comment 3 Kai Engert (:kaie) (inactive account) 2017-03-10 12:41:24 UTC
Created attachment 1261929 [details]
nss-util-1334976-1336487.patch

nss-util patch

Comment 4 Kai Engert (:kaie) (inactive account) 2017-03-10 12:42:06 UTC
Created attachment 1261930 [details]
nss-1334976-1336487-1345083.patch

nss patch

Comment 5 Kai Engert (:kaie) (inactive account) 2017-03-10 12:44:38 UTC
Daiki, could you please add these patches to nss-util and nss?

I've used the patches we already have in Fedora, and on top of that, I added the fix from upstream 1345083.

I think it's OK to commit the nss-util patch with "Related: this bug number"

This patch also includes the fix for bug 1418891.

Comment 6 Kai Engert (:kaie) (inactive account) 2017-03-10 12:47:43 UTC
*** Bug 1418891 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2017-08-01 16:50:07 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/RHEA-2017:1977