Closed Bug 2022936 Opened 8 months ago Closed 8 months ago

Improve CRLite filter downloading logic

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: jschanck, Assigned: jschanck)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

We could do a better job of ensuring that we never re-download a CRLite filter that we have available on disk. The attachment in remote settings has a name and a sha256 hash, and we save filters to the user's security_state directory with the expected name. We should simply check for the existence of the expected file and check its sha256 hash before we ever download it from the network.

As part of this work, we should clean up the logic for ensuring that the set of filters loaded into cert_storage matches the set of filters in the remote settings collection.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: