Open Bug 1930807 Opened 4 months ago Updated 2 days ago

NSS policy updates

Categories

(NSS :: Libraries, defect, P3)

Tracking

(Not tracked)

People

(Reporter: rrelyea, Assigned: rrelyea)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(3 files)

The following changes to our policy code from RHEL needs to be picked up:

Various policy tests are failing because the test case is wrong, but the tests weren't run because the tests were triggered on SDB mode, which isn't used anymore upstream because we no longer test dbm code (disabled by default). dbm code is still enabled and tested in some versions of RHEL.

KeySize checks were missing in RSA-PSS.

Cavs tests were failing on rhel-10 because of changes to the output of sum.

Assignee: nobody → rrelyea
Blocks: 1930794
Depends on: 1930809
Severity: -- → S3
Priority: -- → P3
  1. The policy tests aren't running in the CI, update the way we determine that we are using sql db.
    1a. Add a new utility to get NSS default values to support getting sqldb state.
  2. turn off key size policy for the weak key tests.
  3. Make SECKEY_PrivateKeyStrengthInBits more accurate in the normal case.
  4. Add key length policy enforcements to RSAPss on SSL.
  5. Fix problem where ASN1 decoder is clobbering the error message, leading to DER errors when the real reason is policy issues.
  6. Fix errors in the policy tests that were masked by the fact they weren't being run in the CI

sum has changed formats on newer versions of linux, change the awk to fetch the correct value.

  1. Make SECKEY_PrivateKeyStrengthInBits more accurate in the normal case.
  2. Add key length policy enforcements to RSAPss on SSL.
See Also: → 1950617
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: