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 1846565 - Extensions in CertificateExtensions class could get out of order and cause signature discrepency
Summary: Extensions in CertificateExtensions class could get out of order and cause si...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: jss
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: RHCS Maintainers
QA Contact: PKI QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-11 22:51 UTC by Christina Fu
Modified: 2020-06-22 18:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-22 18:14:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Christina Fu 2020-06-11 22:51:06 UTC
Description of problem:
Some application may rely on the order of the extensions to stay unchanged, such as when the object is manipulated by different parties and signed.  To ensure that the order doesn't change. it might be best to substitute "LinkedHashMap" with "Hashtable".

Comment 1 Dinesh Prasanth 2020-06-22 18:14:20 UTC
This bug was originally addressed via JSS PR: https://github.com/dogtagpki/jss/pull/575

Commit Information:
===================
commit 3789795e651d6f4d1e4c404fa0d7402a2d0a740a
Author: Christina Fu <cfu>
Date:   Thu Jun 11 10:54:58 2020 -0700

    bug1846565 - JSS: Extensions in CertificateExtensions class could get out of order and cause signature discrepency
    
    This patch replaces Hashtable with LinkedHashMap to ensure order of
    extensions.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1846565


Justification for CLOSING this bug:
===================================
This bug does not fix any bugs or add any new features. Instead, it modifies the
underlying datastructure used to store the data. This is low-level information
that cannot be tested OR any test cases be created. FWIW, if a CA (like dogtag PKI CA)
can issue a cert with right extension, this bug is assumed VERIFIED. So, I'm closing this
as NOTABUG


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