NEW322190
Make the length parameter of crypto.subtle.deriveBits [EnforceRange]
https://bugs.webkit.org/show_bug.cgi?id=322190
Summary Make the length parameter of crypto.subtle.deriveBits [EnforceRange]
d.huigens
Reported 2026-08-20 09:04:05 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-08-27 09:04:14 PDT
Note You need to log in before you can comment on or make changes to this bug.