Closed Bug 1813779 Opened 1 year ago Closed 1 year ago

Consider how hash verification should work for language models and wasm binaries

Categories

(Firefox :: Translations, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(1 file)

Remote Settings can verify the hash of the content on the disk. There is a runtime cost to this and it also involves a network request. We should consider the strategy here on checking this information. The wasm and language models are stored in the user directory which is open to tampering. Hash verification will ensure that the contents of the cache are valid.

Type: defect → enhancement
Priority: -- → P2

Erik and I discussed this, and we are doing the safe and correct thing, which we feel comfortable with shipping, so this doesn't block the MVP. We can re-visit when and if we get evidence that this slows down the process.

I don't think this is worth keeping open, as Erik and I discussed this. We can always re-open if the evidence shows that this is slow.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX

Actually, I'll attach a patch to this to remove the TODOs.

Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee: nobody → gtatum
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/793ba36c54b5
Always verify signatures for translation assets; r=nordzilla
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1264ea613b5e
Always verify signatures for translation assets; r=nordzilla
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: