crypto: remove webcrypto "DSA" JWK Key Type operations#37203
Closed
panva wants to merge 3 commits intonodejs:masterfrom
Closed
crypto: remove webcrypto "DSA" JWK Key Type operations#37203panva wants to merge 3 commits intonodejs:masterfrom
panva wants to merge 3 commits intonodejs:masterfrom
Conversation
"DSA" is not a registered JWK key type. https://www.iana.org/assignments/jose/jose.xhtml#web-key-types
jasnell
approved these changes
Feb 3, 2021
Collaborator
Member
Author
|
cc @nodejs/crypto |
panva
added a commit
that referenced
this pull request
Feb 5, 2021
"DSA" is not a registered JWK key type. https://www.iana.org/assignments/jose/jose.xhtml#web-key-types PR-URL: #37203 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Member
Author
|
Landed in 2ff1c83 |
danielleadams
pushed a commit
that referenced
this pull request
Feb 16, 2021
"DSA" is not a registered JWK key type. https://www.iana.org/assignments/jose/jose.xhtml#web-key-types PR-URL: #37203 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This removes the
subtle.exportKeyandsubtle.importKeyoption to import/exportDSAkeys 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.