Closed Bug 1372418 Opened 8 years ago Closed 1 year ago

remove the cached EC log keys from certificate transparency

Categories

(Core :: Security: PSM, task, P1)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: keeler, Assigned: keeler)

References

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

In bug 1357226 we worked around that verifying EC keys is slow by importing them once and caching them. Unfortunately it looks like if a profile is in FIPS mode the PK11_ImportPublicKey call at CTLogVerifier.cpp:184 fails (even if the isToken parameter is false) if the user hasn't logged in yet (and since this is very early in startup, it's unlikely they've logged in at that point). This causes an assertion failure in debug builds at CertVerifier.cpp:240. In release builds, however, we just continue, so it looks like users aren't actually experiencing crashes due to this unless they're building and running their own debug versions. A similar thing may happen with the sql db because it requires some sort of password, unlikely the legacy db.
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

Now that we cache SCT signatures, we don't actually use these keys.

Assignee: nobody → dkeeler
Severity: S3 → N/A
Type: enhancement → task
Depends on: 1918279
Priority: P3 → P1
Summary: initializing EC keys for certificate transparency can fail if the profile is in FIPS mode (and maybe the sql db?) → remove the cached EC log keys from certificate transparency
Whiteboard: [psm-backlog] → [psm-assigned]

These are unnecessary as of bug 1918279 (caching the results of signature
verification).

Pushed by dkeeler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e46ba0e2868b certificate transparency: remove unnecessary cached EC keys r=jschanck
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: