FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

crypto: fix webcrypto JWK EC and OKP import crv check by panva · Pull Request #43346 · nodejs/node · GitHub

/ node Public

crypto: fix webcrypto JWK EC and OKP import crv check - #43346

Merged
nodejs-github-bot merged 1 commit into
nodejs:masterfrom
panva:fix-jwk-crv-import
Jun 15, 2022
Merged

crypto: fix webcrypto JWK EC and OKP import crv check#43346
nodejs-github-bot merged 1 commit into
nodejs:masterfrom
panva:fix-jwk-crv-import

Conversation

panva commented Jun 8, 2022
edited
Loading

Copy link
Copy Markdown
Member

This PR ensures the JWK crv member is properly validated to match the algorithm.

For kty: EC this has to match the namedCurve property of the algorithm for both ECDSA and ECDH keys.
For kty: OKP this has to match the name of the algorithm.

Current behaviour is that the crv member is incorrectly ignored and may even be undefined.

panva added crypto Issues and PRs related to the crypto subsystem. webcrypto labels Jun 8, 2022
panva requested review from jasnell and tniessen June 8, 2022 11:41

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

nodejs-github-bot added the needs-ci PRs that need a full CI run. label Jun 8, 2022
panva added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 8, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 8, 2022

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/44408/

panva added the experimental Issues and PRs related to experimental features. label Jun 9, 2022
tniessen added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 9, 2022
panva added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 15, 2022
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 15, 2022
nodejs-github-bot merged commit 4420d52 into nodejs:master Jun 15, 2022

Copy link
Copy Markdown
Collaborator

Landed in 4420d52

danielleadams pushed a commit that referenced this pull request Jun 16, 2022
PR-URL: #43346
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
danielleadams mentioned this pull request Jun 16, 2022
targos pushed a commit that referenced this pull request Jul 12, 2022
PR-URL: #43346
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
targos pushed a commit that referenced this pull request Jul 31, 2022
PR-URL: #43346
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
guangwong pushed a commit to noslate-project/node that referenced this pull request Oct 10, 2022
PR-URL: nodejs/node#43346
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
panva deleted the fix-jwk-crv-import branch October 13, 2022 09:12
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

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. crypto Issues and PRs related to the crypto subsystem. experimental Issues and PRs related to experimental features. needs-ci PRs that need a full CI run. webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL