Closed Bug 1445026 Opened 6 years ago Closed 6 years ago

Don't try to decode the hash returned by crypto.subtle.digest as UTF-8

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(1 file)

The hash returned by crypto.subtle.digest is a binary blob. Decoding it as UTF-8 makes no sense.
Comment on attachment 8958226 [details]
Bug 1445026: Don't try to decode a binary hash blob as UTF-8.

https://reviewboard.mozilla.org/r/227168/#review233008
Attachment #8958226 - Flags: review?(lgreco) → review+
https://hg.mozilla.org/mozilla-central/rev/bd612e2c67a9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Flags: qe-verify-
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: