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 1710800 - JSS: add PKCS#11standard AES KeyWrap for HSM support [rhel-7.6.z]
Summary: JSS: add PKCS#11standard AES KeyWrap for HSM support [rhel-7.6.z]
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: jss
Version: 7.7
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Christina Fu
QA Contact: PKI QE
URL:
Whiteboard:
Depends On: 1709551
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-16 10:55 UTC by RAD team bot copy to z-stream
Modified: 2019-06-14 23:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The following mechanisms defined by PKCS#11 standard are not defined and recognized by NSS. CKM_AES_KEY_WRAP CKM_AES_KEY_WRAP_PAD Instead, NSS defines its own mechanism IDs: CKM_NSS_AES_KEY_WRAP CKM_NSS_AES_KEY_WRAP_PAD Consequence: external crypto modules such as HSMs (e.g. Thales) do not recognize the NSS definitions. Note: Currently, the latest Thales HSM (SW 12.50) recognizes the PKCS#11 definitions, but do not yet support the key wrapping feature. We were told that SW 12..60 will. Fix: PKCS#11 standard defined in JSS Result: feature can't be fully tested yet until Thales relesed SW 12.60
Clone Of: 1709551
Environment:
Last Closed: 2019-06-14 23:12:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description RAD team bot copy to z-stream 2019-05-16 10:55:21 UTC
This bug has been copied from bug #1709551 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 2 Christina Fu 2019-05-16 18:41:47 UTC
commit 727db7a182cc31d4447b09e23e5af57e07fbb4f2
Author: Christina Fu <cfu>
Date:   Fri May 10 19:02:36 2019 -0700

    Add HSM support for PKCS#11 AES KeyWrap/Padding (#176)
    
    * Add HSM support for PKCS#11 AES KeyWrap/Padding
    
    This patch adds  HSM support for the PKCS#11 standard defined KeyWrap/Paddin
    mechanism. Prior to this patch, only NSS (CKM_NSS_AES_KEY_WRAP_PAD) was supp
    Note that this is based on Thales's projection of having the following suppo
    in the next SW version, 12.60: CKM_AES_KEY_WRAP_PAD
    For completeness, CKM_AES_KEY_WRAP is also added, although it is not suitabl
    for private key wrapping.
    
    * Added test case for AES_KEY_WRAP_PAD; also a clarification comment
    
    This would actually test CKM_NSS_AES_KEY_WRAP_PAD if CKM_AES_KEY_WRAP_PAD
    is not supported by the crypto module.
    
    also added clarification comment in org/mozilla/jss/crypto/KeyWrapAlgorithm.
    
    * pulling repeated code into a method getSupportedWrappingMechanism

Comment 3 Christina Fu 2019-05-16 18:50:57 UTC
As mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1709551#c5
"limited tests" could be conducted when the following bug fix is available
Bug 1709585 - PKI (test support) for PKCS#11standard AES KeyWrap for HSM support


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