Closed gmta closed 1 week ago
Similar to SubtleCrypto.importKey, .deriveKey should set the [[extractable]] internal slot of the resulting key. None of the algorithms actually set this property on the key.
SubtleCrypto.importKey
.deriveKey
[[extractable]]
Thanks for catching that! As @panva noticed, the [[usages]] internal slot should be set as well :)
[[usages]]
(Btw, if tests didn't catch that one, perhaps we should test that more extensively?)
Similar to
SubtleCrypto.importKey
,.deriveKey
should set the[[extractable]]
internal slot of the resulting key. None of the algorithms actually set this property on the key.