Closed Bug 1871110 Opened 2 years ago Closed 2 years ago

IOUtils::ComputeHexDigestSync should drop sha1 support

Categories

(Toolkit Graveyard :: IOUtils and PathUtils, task, P3)

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: keeler, Assigned: beth)

Details

Attachments

(1 file)

It doesn't look like anything is using sha1 with IOUtils::ComputeHexDigestSync, so we should remove that as an option.

Assignee: nobody → brennie
Severity: -- → S3
Priority: -- → P3
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1130670445e4 Remove sha1 support from IOUtils::ComputeHexDigest r=xpcom-reviewers,mccr8

Backed out for causing mochitest failures in test_ioutils_compute_hex_digest.html

Flags: needinfo?(brennie)
Flags: needinfo?(brennie)
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2d838cca6bd Remove sha1 support from IOUtils::ComputeHexDigest r=xpcom-reviewers,mccr8

Backed out for causing xpcshell failures in test_system_update_checkSizeHash.js

Flags: needinfo?(brennie)

This is still used in https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/test/xpcshell/test_system_update_checkSizeHash.js. I need to investigate if we can replace those instances with sha256 or similar.

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:barret, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(continuation)
Flags: needinfo?(brennie)
Flags: needinfo?(continuation)
Flags: needinfo?(brennie)

I have validated that the test that failed can be updated to use a different hash function. Additionally, all addons served by balrog use sha512 as the hash function.

Hey Barret, I see you already made good progress on this patch. I suppose you are busy with lots of things though I wanted to check if you are still on it? (It's not super time critical, though I am reaching out to all the folks in my deprecate-hashes-bug-queue at the moment). Thank you.

Flags: needinfo?(brennie)

Sorry this slipped off my radar. I'll try to update the patch and have it landed this week. Thanks for the reminder!

Flags: needinfo?(brennie)
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6c57c28bd7d Remove sha1 support from IOUtils::ComputeHexDigest r=xpcom-reviewers,mccr8,extension-reviewers,robwu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: