Skip to content

crypto: check webcrypto asymmetric key types during importKey - #39962

Closed
panva wants to merge 1 commit into
nodejs:masterfrom
panva:webcrypto-check-import-key-type
Closed

crypto: check webcrypto asymmetric key types during importKey#39962
panva wants to merge 1 commit into
nodejs:masterfrom
panva:webcrypto-check-import-key-type

Conversation

@panva

Copy link
Copy Markdown
Member

This PR fixes an issue where any KeyObject.prototype.type matching key would result in a CryptoKey despite it being the wrong KeyObject.prototype.asymmetricKeyType

@panva
panva requested a review from jasnellAugust 31, 2021 17:50
@panva

Copy link
Copy Markdown
MemberAuthor

cc @nodejs/crypto

@nodejs-github-botnodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Aug 31, 2021
@nodejs-github-bot

This comment has been minimized.

@panvapanva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Aug 31, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Sep 1, 2021

Copy link
Copy Markdown
Collaborator

@panvapanva added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 7, 2021
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 7, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 0c6f345...5d34ef5

nodejs-github-bot pushed a commit that referenced this pull request Sep 7, 2021
PR-URL: #39962
Reviewed-By: James M Snell <jasnell@gmail.com>
@panva
panva deleted the webcrypto-check-import-key-type branch September 7, 2021 18:34
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #39962
Reviewed-By: James M Snell <jasnell@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Sep 21, 2021
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.cryptoIssues and PRs related to the crypto subsystem.webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@panva@nodejs-github-bot@jasnell