Repository navigation
crypto: refactor subtle methods to use synchronous import - #59771
Merged
Merged
Conversation
Collaborator
|
Review requested:
|
jasnell
approved these changes
Sep 5, 2025
Collaborator
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
🚀 New features to boost your workflow:
|
commented
Sep 7, 2025
Member
Author
|
@jasnell we need two approvals for CQ to work after 48 hours |
commented
Sep 7, 2025
Member
|
Yes, I know. Adding it is ok, it'll just sit there and wait until the minimum number of approvals are received or one week passes. |
commented
Sep 7, 2025
Member
Author
|
TIL :D |
commented
Sep 7, 2025
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/59771 ✔ Done loading data for nodejs/node/pull/59771 ----------------------------------- PR info ------------------------------------ Title crypto: refactor subtle methods to use synchronous import (#59771) Author Filip Skokan <panva.ip@gmail.com> (@panva) Branch panva:import-key -> nodejs:main Labels crypto, author ready, needs-ci Commits 1 - crypto: refactor subtle methods to use synchronous import Committers 1 - Filip Skokan <panva.ip@gmail.com> PR-URL: https://github.com/nodejs/node/pull/59771 Refs: https://github.com/nodejs/node/issues/59699 Reviewed-By: James M Snell <jasnell@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/59771 Refs: https://github.com/nodejs/node/issues/59699 Reviewed-By: James M Snell <jasnell@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Fri, 05 Sep 2025 15:17:00 GMT ✔ Approvals: 1 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/59771#pullrequestreview-3189793288 ✘ This PR needs to wait 119 more hours to land (or 0 hours if there is one more approval) ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-09-05T15:30:02Z: https://ci.nodejs.org/job/node-test-pull-request/69077/ - Querying data for job/node-test-pull-request/69077/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/17530351955 |
commented
Sep 7, 2025
Member
Author
|
Ha! |
commented
Sep 7, 2025
Member
|
Sigh... that's frustrating lol ... I do believe that there was a time when it actually waited but... ah well |
aduh95
approved these changes
Sep 7, 2025
commented
Sep 7, 2025
Collaborator
|
Landed in d6221f6 |
commented
Sep 19, 2025
Member
|
This doesn't land cleanly on v22.x-staging so a manual backport will be necessary if this is to be released there. |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: #59699
This changes encapsulateKey, decapsulateKey, deriveKey, and unwrapKey to not use the whole SubtleCrypto.prototype.importKey machinery but instead just its synchronous internal bits.