Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: remove webcrypto EdDSA key checks and properties #49408

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

panva
Copy link
Member

@panva panva commented Aug 30, 2023

As per WICG/webcrypto-secure-curves#24 this removes the check for EdDSA alg during JWK importKey and removes the alg for Ed25519 and Ed448 keys during JWK exportKey.

The algorithms from https://github.com/WICG/webcrypto-secure-curves/ are marked as experimental in our implementation which is why this can forgo semver-major and also be easily backported.

@panva panva added crypto Issues and PRs related to the crypto subsystem. experimental Issues and PRs related to experimental features. webcrypto labels Aug 30, 2023
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Aug 30, 2023
@panva panva requested a review from tniessen August 30, 2023 11:56
@panva panva added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Aug 30, 2023
@panva panva added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 30, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 30, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@panva panva added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 31, 2023
@panva panva added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 31, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 1, 2023
@nodejs-github-bot nodejs-github-bot merged commit 457cedd into nodejs:main Sep 1, 2023
30 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 457cedd

@panva panva deleted the crypto-update-eddsa-alg branch September 1, 2023 12:15
UlisesGascon pushed a commit that referenced this pull request Sep 10, 2023
As per WICG/webcrypto-secure-curves#24

PR-URL: #49408
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
@UlisesGascon UlisesGascon mentioned this pull request Sep 10, 2023
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
As per WICG/webcrypto-secure-curves#24

PR-URL: nodejs#49408
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
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 pending requests for changes, 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.

4 participants