Skip to content

build,deps,tools: prepare to update to OpenSSL 4.1 - #66758

Merged
nodejs-github-bot merged 4 commits into
nodejs:mainfrom
panva:openssl-updater-4.1
Oct 23, 2026
Merged

nodejs-github-bot merged 4 commits into
nodejs:mainfrom
panva:openssl-updater-4.1

Conversation

@panva

@panva panva commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Update the updater script and files under deps/openssl/config in preparation for updating deps/openssl to OpenSSL 4.1.

blocked PRs that are blocked by other issues or PRs. until OpenSSL 4.1.0 releases.

Assisted-by: Codex

@panva panva added dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. dont-land-on-v26.x PRs that should not land on the v26.x-staging branch and should not be released in v26.x. labels Oct 15, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. tools Issues and PRs related to the tools directory. labels Oct 15, 2026
@panva panva added the blocked PRs that are blocked by other issues or PRs. label Oct 15, 2026
@panva

This comment was marked as outdated.

@aduh95

aduh95 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

blocked until OpenSSL 4.1.0 releases.

Wouldn't it make sense for 27.0.0-alpha to use the OpenSSL alpha beta version? I assume it would be smoother for users to adapt to a 4.1.0-beta2->4.1.0 bump than 3.5.x->4.1.0

@panva

panva commented Oct 15, 2026 •

Copy link
Copy Markdown
Member Author

@panva

panva commented Oct 15, 2026 •

Copy link
Copy Markdown
Member Author

Wouldn't it make sense for 27.0.0-alpha to use the OpenSSL alpha beta version? I assume it would be smoother for users to adapt to a 4.1.0-beta2->4.1.0 bump than 3.5.x->4.1.0

I wouldn't stress about it. That being said, if the test run goes well and PR gets opened and tests fine in GHA / Jenkins this would be good to go and you could in theory update main to 4.1.0+beta2 as semver-major with it.

@panva

panva commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

Update test itself is in a good shape AFAICT: #66762
Opened #66775 to deal with the new 4.1 prerelease test caveats and engine skips needed when 4.x is used.

@panva
panva requested a review from richardlau October 15, 2026 18:12
@panva panva added author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue PRs queued for automated landing through the Commit Queue. and removed blocked PRs that are blocked by other issues or PRs. labels Oct 23, 2026
@panva

panva commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

@panva panva removed the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 23, 2026
@panva

panva commented Oct 23, 2026 •

Copy link
Copy Markdown
Member Author

going to run one more test run with 4.1.0

Run: https://github.com/nodejs/node/actions/runs/39953578902 (picked up openssl-4.1.0-beta2 prior to 2dbe4c6)
Run: https://github.com/nodejs/node/actions/runs/39958217606 (picked up openssl-4.1.0 🎉)
Test PR: #66959

@panva

This comment was marked as resolved.

@panva panva removed the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Oct 23, 2026
@panva panva added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Oct 23, 2026
panva added 4 commits October 23, 2026 16:00
Update the updater script and files under `deps/openssl/config` in
preparation for updating `deps/openssl` to OpenSSL 4.1.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
@panva
panva force-pushed the openssl-updater-4.1 branch from 2dbe4c6 to 5b6d238 Compare October 23, 2026 14:00
@panva

panva commented Oct 23, 2026 •

Copy link
Copy Markdown
Member Author

One more test run with #66775 in place: https://github.com/nodejs/node/actions/runs/39966109952
PR: #66960
CI: https://ci.nodejs.org/job/node-test-pull-request/78600/

@panva

panva commented Oct 23, 2026 •

Copy link
Copy Markdown
Member Author

one new test failure needs accounting for a changed error code which we'll do in the actual update PR

---
duration_ms: 147.383
exitcode: 1
severity: fail
stack: |-
  node:internal/assert/utils:146
    throw error;
    ^

  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected

  + 'ERR_SSL_BAD_DECRYPT'
  - 'ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC'
             ^

      at TLSSocket.<anonymous> (/home/iojs/build/workspace/node-test-commit-plinux/nodes/rhel10-ppc64le/test/parallel/test-tls-coalesce-records.js:120:16)
      at TLSSocket.<anonymous> (/home/iojs/build/workspace/node-test-commit-plinux/nodes/rhel10-ppc64le/test/common/index.js:512:15)
      at TLSSocket.emit (node:events:514:20)
      at TLSSocket._emitTLSError (node:internal/tls/wrap:1173:10)
      at TLSWrap.onerror (node:internal/tls/wrap:592:11) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: 'ERR_SSL_BAD_DECRYPT',
    expected: 'ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC',
    operator: 'strictEqual',
    diff: 'simple'
  }

  Node.js v27.0.0-pre
...

@panva panva added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Oct 23, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Oct 23, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva panva added the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 23, 2026
@nodejs-github-bot
nodejs-github-bot merged commit b12bad4 into nodejs:main Oct 23, 2026
67 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in b12bad4

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 23, 2026
@panva
panva deleted the openssl-updater-4.1 branch October 23, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. dependencies PRs that add, update, or configure Node.js dependencies. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. dont-land-on-v26.x PRs that should not land on the v26.x-staging branch and should not be released in v26.x. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants