Closed Bug 1856679 Opened 2 years ago Closed 10 months ago

support even more derived key algorithms in crypto.subtle.deriveKey

Categories

(Core :: DOM: Web Crypto, enhancement)

enhancement

Tracking

()

RESOLVED INVALID

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.

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!

Flags: needinfo?(dkeeler)

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

I guess so!

Status: NEW → RESOLVED
Closed: 10 months ago
Flags: needinfo?(dkeeler)
Resolution: --- → INVALID

Thank you! Vinyl has already updated compatibility data for this.

You need to log in before you can comment on or make changes to this bug.