Skip to content

Conversation

@panva
Copy link
Member

@panvapanva commented Oct 7, 2022

#42542 unfortunately used the hash's output size instead of block size. This also fixes the same problem for HMAC generateKey when length is missing.

Screenshot 2022-10-08 at 1 07 33

Screenshot 2022-10-08 at 1 07 02

Refs: denoland/deno#16180 (comment)
Refs: cloudflare/workerd#68 (comment)

@panvapanva added crypto Issues and PRs related to the crypto subsystem. experimental Issues and PRs related to experimental features. webcrypto labels Oct 7, 2022
@panvapanva requested review from jasnell and tniessenOctober 7, 2022 23:15
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 7, 2022
@panvapanva added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 7, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 7, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@panvapanvaforce-pushed the fix-webcrypto-get-key-length branch from f979ef3 to 7f2258fCompareOctober 10, 2022 07:46
@panvapanva added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 10, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 10, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@panvapanva added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 10, 2022
@panvapanvaforce-pushed the fix-webcrypto-get-key-length branch from 7f2258f to 472ae3aCompareOctober 12, 2022 10:55
@panvapanva added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 12, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 12, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@panvapanva added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 12, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 12, 2022
@nodejs-github-botnodejs-github-bot merged commit 214354f into nodejs:mainOct 12, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 214354f

@panvapanva deleted the fix-webcrypto-get-key-length branch October 13, 2022 09:12
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
panva added a commit to panva/node that referenced this pull request Mar 31, 2023
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.experimentalIssues and PRs related to experimental features.needs-ciPRs that need a full CI run.webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@panva@nodejs-github-bot@jasnell@aduh95