Skip to content

crypto: remove webcrypto "DSA" JWK Key Type operations

Rodrigo Muino Tomonari requested to merge github/fork/panva/remove-dsa-jwk into master

This removes the subtle.exportKey and subtle.importKey option to import/export DSA keys using the 'jwk' format. "DSA" is not a registered JWK key type and is therefore entirely proprietary.

I think we should remove this affordance while the module is still marked as experimental. Alternatively, we could make the kty (Key Type) value a collision-resistant one, e.g. node.DSA.

Either way a breaking change to an experimental module.

The "kty" (key type) parameter identifies the cryptographic algorithm family used with the key, such as "RSA" or "EC". "kty" values should either be registered in the IANA "JSON Web Key Types" registry established by JWA or be a value that contains a Collision- Resistant Name. The "kty" value is a case-sensitive string.

Merge request reports

Loading