Open Bug 1383279 Opened 7 years ago Updated 5 months ago

Don't enter FIPS Mode unless NSS is more likely FIPS-compliant

Categories

(Core :: Security: PSM, enhancement, P3)

55 Branch
enhancement

Tracking

()

People

(Reporter: jcj, Unassigned)

References

(Blocks 2 open bugs)

Details

It's possible under some circumstances to ask Firefox to enable FIPS mode and have that succeed, even if NSS is using non-FIPS ciphersuites and settings (See Bug 106604, and I've specifically seen this with ChaCha20/Poly1394 being used while in FIPS mode).

Since Bug 106604 isn't readily solvable, this bug's purpose is to fail to enter FIPS mode unless it has a high likelihood of truly complying with the FIPS 140-2 guidelines.

The first option that occurs to me is before we attempt to set the flag on NSS and restart it, to enumerate the available cryptographic functions and compare them to a whitelist. If there are functions observed which are not on the whitelist, fail.

Another option (#2) would be to introduce a compile-time flag on Firefox that, unless set, would force the FIPS button to fail immediately. Anyone wishing to use Firefox with the FIPS toggle button functioning would need to set that compile-time flag. Mozilla would not set this flag.

Option #3 would be to solve Bug 106604.
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.