Closed Bug 1871106 Opened 1 year ago Closed 1 year ago

MD5HexFunction in SQLFunctions.cpp should be replaced with sha256 or removed

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: keeler, Assigned: mak)

References

Details

(Whiteboard: [sng][places-tech-debt])

Attachments

(1 file)

MD5HexFunction in SQLFunctions.cpp should be replaced with sha256 or removed if it's not used.

As it's only used in a not-yet-enabled feature, it should be fine to just do a plain replace. Though it should be done along with changes to PlacesPreviews.sys.mjs

The hash here is just used to map urls in a database to files on disk.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [sng][places-tech-debt]
Blocks: 1871105

Hey Marco, we (the security engineering team) are working on removing deprecated hashes from the Firefox code base. I wanted to check in and ask if you could prioritize this bug? Could you maybe even provide a timeline?

We imagine the change shouldn't be too complicated. We could imagine that replacing md5 with e.g. sha256 could work, though we are happy to discuss options with you and the team. Thank you!

Flags: needinfo?(mak)

I'll take this

Assignee: nobody → mak
Status: NEW → ASSIGNED
Flags: needinfo?(mak)
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/504bf19a4b32 MD5HexFunction in SQLFunctions.cpp should be replaced with sha256 or removed. r=daisuke,places-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: