support even more derived key algorithms in crypto.subtle.deriveKey
Categories
(Core :: DOM: Web Crypto, enhancement)
Tracking
()
People
(Reporter: keeler, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #1851928 +++
crypto.subtle.deriveKey still doesn't support that many derived key algorithms right now. In particular, it doesn't seem to support PBKDF2.
Comment 1•1 year ago
|
||
Unless I'm misunderstanding, it seems like Firefox does support PBKDF2. I wrote a test for the mdn-bcd-collector project (https://mdn-bcd-collector.gooborg.com/tests/api/SubtleCrypto/deriveKey/derivedKeyAlgorithm_option_pbkdf2), and it's reporting that support was introduced in Firefox 119. Note that I wrote this test with minimal knowledge of the Web Crpyto API, so please let me know if this test code is incorrect!
Updated•10 months ago
|
Comment 2•10 months ago
•
|
||
Hi, Firefox indeed has started supporting PBKDF2, you can check here: https://wpt.fyi/results/WebCryptoAPI/derive_bits_keys?label=experimental&label=master&aligned. These are the tests each browser passes.
The test seems correct
Comment 3•10 months ago
•
|
||
![]() |
Reporter | |
Comment 4•10 months ago
|
||
I guess so!
Comment 5•10 months ago
|
||
Thank you! Vinyl has already updated compatibility data for this.
Description
•