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.
The problem is the gtest wasn't updated deal with the fact that IKE 1563 is not supposed to work in FIPS mode.
gtests run in nss, but the code for this is in nss-softokn. We'll probably pick this up if we need to make a new build of nss (along with updating the expired pay pal certificate). I'll include a patch for this issue in this bug.
Created attachment 1718726[details]
Update gtests to expect small approved primes to fail take 2
First patch didn't patch both cases with same problem. Applying this same fix on other problem test fixed build.
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 (Moderate: nss security and bug fix update), 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/RHSA-2021:1384
Description of problem: Trying to rebuild nss-3.53.1-3.el7_9 from source has unexpected errors. Version-Release number of selected component (if applicable):nss-3.53.1-3.el7_9 How reproducible:100% Steps to Reproduce: 1.try to rebuild nss-3.53.1-3.el7_9 within mock 2. 3. Actual results: [----------] 66 tests from FipsDhCases/SoftokenFipsDhValidate [ RUN ] FipsDhCases/SoftokenFipsDhValidate.DhVectors/0 Test:IKE 1536 param_type: IKE_APPROVED, key_class: CLASS_1536 p: [192] ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74... g: [1] 02 q: [0] pub_key: [0] softoken_gtest.cc:553: Failure Expected: (nullptr) != (priv_key.get()), actual: (nullptr) vs NULL PK11_GenerateKeyPair failed: SEC_ERROR_INVALID_ARGS softoken_gtest.cc:555: Failure Expected: (nullptr) != (pub_tmp), actual: (nullptr) vs NULL softoken_gtest.cc:897: Failure Expected equality of these values: SECSuccess Which is: 0 rv Which is: -1 Test(IKE 1536) failed <snip> [ FAILED ] FipsDhCases/SoftokenFipsDhValidate.DhVectors/0, where GetParam() = 112-byte object <44-CF 45-00 00-00 00-00 00-00 00-00 00-00 00-00 20-4D 46-00 00-00 00-00 C0-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 A1-D4 45-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00> (189 ms) Test:IKE 1536 with subprime param_type: IKE_APPROVED, key_class: CLASS_1536 p: [192] ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74... g: [1] 02 q: [192] 7fffffffffffffffe487ed5110b4611a62633145c06e0e68948127044533e63a... pub_key: [0] softoken_gtest.cc:553: Failure Expected: (nullptr) != (priv_key.get()), actual: (nullptr) vs NULL PK11_GenerateKeyPair failed: SEC_ERROR_INVALID_ARGS softoken_gtest.cc:555: Failure Expected: (nullptr) != (pub_tmp), actual: (nullptr) vs NULL softoken_gtest.cc:897: Failure Expected equality of these values: SECSuccess Which is: 0 rv Which is: -1 Test(IKE 1536 with subprime) failed [ FAILED ] FipsDhCases/SoftokenFipsDhValidate.DhVectors/11, where GetParam() = 112-byte object <28-CD 45-00 00-00 00-00 00-00 00-00 00-00 00-00 20-4D 46-00 00-00 00-00 C0-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 A1-D4 45-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 60-10 46-00 00-00 00-00 C0-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00> (204 ms) Expected results: Self-tests pass Additional info: