[Webkit-unassigned] [Bug 276394] New: The subtleCrypto.deriveBits doesn't handle 'null' values correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 9 16:19:11 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=276394
Bug ID: 276394
Summary: The subtleCrypto.deriveBits doesn't handle 'null'
values correctly
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jfernandez at igalia.com
There was a discussion in the issue #322 [1] about the lack of a proper way to handle null or omitted values for the deriveBits's length argument, given how it's currently defined in the IDL. There was a proposal in issue #329 [2] to define the 'length' argument as optional, and defaulting to 'null'.
The PR#345 [3] has been merged recently to fix this inconsistency in the Web Cryptography API specification, that lead to a few interoperability issues in the deriveBits operation of several algorithms (ECDH, HKDF, PBKDF2 and X25519).
[1] https://github.com/w3c/webcrypto/issues/322
[2] https://github.com/w3c/webcrypto/issues/329
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240709/4d6bad5b/attachment.htm>
More information about the webkit-unassigned
mailing list