Skip to content

[v22.x backport] crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 - #58960

Merged
aduh95 merged 1 commit into
nodejs:v22.x-stagingfrom
panva:backport-58942-to-22
Jul 21, 2025
Merged

[v22.x backport] crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4#58960
aduh95 merged 1 commit into
nodejs:v22.x-stagingfrom
panva:backport-58942-to-22

Conversation

@panva

@panvapanva commented Jul 5, 2025

Copy link
Copy Markdown
Member

Backports #58942 to v22.x

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. labels Jul 5, 2025
@panva
panvaforce-pushed the backport-58942-to-22 branch from 64d16c4 to 76ca72eCompareJuly 5, 2025 11:57
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/67856/

Reverts: nodejs#56160Fixes: nodejs#56159Fixes: nodejs#58913
Refs: nodejs#58121
PR-URL: nodejs#58942
Backport-PR-URL: nodejs#58960
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@aduh95
aduh95force-pushed the backport-58942-to-22 branch from 76ca72e to 6699c75CompareJuly 21, 2025 14:23
@aduh95
aduh95 merged commit 6699c75 into nodejs:v22.x-stagingJul 21, 2025
19 checks passed
@aduh95

Copy link
Copy Markdown
Contributor

Landed in 6699c75

@panva
panva deleted the backport-58942-to-22 branch July 21, 2025 15:06
jkleinsc pushed a commit to electron/electron that referenced this pull request Aug 4, 2025
* chore: bump node in DEPS to v22.18.0
* crypto: fix inclusion of OPENSSL_IS_BORINGSSL define
nodejs/node#58845
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58960
* permission: propagate permission model flags on spawn
nodejs/node#58853
* esm: syncify default path of ModuleLoader\.load
nodejs/node#57419
* src: remove fast API for InternalModuleStat
nodejs/node#58489
* src: simplify adding fast APIs to ExternalReferenceRegistry
nodejs/node#58896
* chore: fixup patch indices
* src: fix internalModuleStat v8 fast path
nodejs/node#58054
* test: add tests to ensure that node.1 is kept in sync with cli.md
nodejs/node#58878
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58942
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request Aug 5, 2025
* chore: bump node in DEPS to v22.18.0
* crypto: fix inclusion of OPENSSL_IS_BORINGSSL define
nodejs/node#58845
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58960
* permission: propagate permission model flags on spawn
nodejs/node#58853
* esm: syncify default path of ModuleLoader\.load
nodejs/node#57419
* src: remove fast API for InternalModuleStat
nodejs/node#58489
* src: simplify adding fast APIs to ExternalReferenceRegistry
nodejs/node#58896
* chore: fixup patch indices
* src: fix internalModuleStat v8 fast path
nodejs/node#58054
* test: add tests to ensure that node.1 is kept in sync with cli.md
nodejs/node#58878
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58942
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request Aug 5, 2025
chore: bump node to v22.18.0 (main) (#47937)
* chore: bump node in DEPS to v22.18.0
* crypto: fix inclusion of OPENSSL_IS_BORINGSSL define
nodejs/node#58845
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58960
* permission: propagate permission model flags on spawn
nodejs/node#58853
* esm: syncify default path of ModuleLoader\.load
nodejs/node#57419
* src: remove fast API for InternalModuleStat
nodejs/node#58489
* src: simplify adding fast APIs to ExternalReferenceRegistry
nodejs/node#58896
* chore: fixup patch indices
* src: fix internalModuleStat v8 fast path
nodejs/node#58054
* test: add tests to ensure that node.1 is kept in sync with cli.md
nodejs/node#58878
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58942
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
kigh-ota pushed a commit to kigh-ota/electron that referenced this pull request Sep 30, 2025
* chore: bump node in DEPS to v22.18.0
* crypto: fix inclusion of OPENSSL_IS_BORINGSSL define
nodejs/node#58845
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58960
* permission: propagate permission model flags on spawn
nodejs/node#58853
* esm: syncify default path of ModuleLoader\.load
nodejs/node#57419
* src: remove fast API for InternalModuleStat
nodejs/node#58489
* src: simplify adding fast APIs to ExternalReferenceRegistry
nodejs/node#58896
* chore: fixup patch indices
* src: fix internalModuleStat v8 fast path
nodejs/node#58054
* test: add tests to ensure that node.1 is kept in sync with cli.md
nodejs/node#58878
* crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
nodejs/node#58942
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.cryptoIssues and PRs related to the crypto subsystem.needs-ciPRs that need a full CI run.utilIssues and PRs related to the built-in util module.v22.xIssues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@panva@nodejs-github-bot@aduh95