Skip to content

Conversation

@panva
Copy link
Member

@panva panva commented Aug 28, 2024

In preparation for eventual merge of Curve25519 into the main spec (which will make Ed25519 and X25519 stable but leave Curve448 experimental) as well as future introduction of more experimental algorithms this PR neatly organizes experimental algorithms in the code path of normalizeAlgorithm and ensures their experimental warnings are not called from all over their implementation.

Also removes kHashTypes which is no longer used.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-bot nodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Aug 28, 2024
@avivkeller avivkeller added experimental Issues and PRs related to experimental features. webcrypto labels Aug 28, 2024
@codecov
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.30%. Comparing base (4a0ec20) to head (4199147).
Report is 34 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54620      +/-   ##
==========================================
- Coverage   87.34%   87.30%   -0.04%     
==========================================
  Files         649      649              
  Lines      182602   182742     +140     
  Branches    35032    35035       +3     
==========================================
+ Hits       159493   159547      +54     
- Misses      16393    16462      +69     
- Partials     6716     6733      +17     
Files with missing lines Coverage Δ
lib/internal/crypto/cfrg.js 96.84% <ø> (-0.05%) ⬇️
lib/internal/crypto/util.js 93.20% <100.00%> (+0.32%) ⬆️

... and 44 files with indirect coverage changes

@panva panva force-pushed the refactor-experimental-webcrypto-algos branch from 0faf147 to 4199147 Compare August 29, 2024 06:27
@panva panva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Aug 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@panva panva added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 30, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 30, 2024
@nodejs-github-bot nodejs-github-bot merged commit 64bb5f8 into nodejs:main Aug 30, 2024
@nodejs-github-bot
Copy link
Collaborator

Landed in 64bb5f8

@panva panva deleted the refactor-experimental-webcrypto-algos branch September 1, 2024 08:30
@RafaelGSS RafaelGSS mentioned this pull request Sep 16, 2024
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.

5 participants