Closed Bug 2065212 Opened 16 days ago Closed 15 days ago

Make the length parameter of crypto.subtle.deriveBits [EnforceRange]

Categories

(Core :: DOM: Web Crypto, defect)

defect

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: twiss, Assigned: anna.weine)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

In https://github.com/w3c/webcrypto/pull/555, following discussion in https://github.com/w3c/webcrypto/issues/429, the length parameter of deriveBits was made [EnforceRange] (throwing on out-of-range values instead of truncating them).

Tests for this were added in https://github.com/web-platform-tests/wpt/pull/62086.

Assignee: nobody → anna.weine
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9629331 - Attachment description: WIP: Bug 2065212 - Make the length parameter of crypto.subtle.deriveBits [EnforceRange] → Bug 2065212 - Make the length parameter of crypto.subtle.deriveBits [EnforceRange]
Pushed by nkulatova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/02f9fd970cad https://hg.mozilla.org/integration/autoland/rev/8a5a46f8b418 Make the length parameter of crypto.subtle.deriveBits [EnforceRange] r=webidl,emilio
Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
QA Whiteboard: [qa-triage-done-c157/b156]
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: