GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — crypto,tls: update BoringSSL, wire up SHA-3 and TLS 1.3 ciphers by panva · Pull Request #66922 · nodejs/node

Conversation

@panva

@panva panva commented Oct 22, 2026

Copy link
Copy Markdown
Member

Update the BoringSSL pin used by shared-library CI to 0.20261020.0, adjust TLS certificate error expectations and the system CA hint, and remove the obsolete temporary-key compatibility shim.

Wire up SHA-3 to node:crypto and subtle.digest() when built with/linked to BoringSSL. Limit WebCrypto SHA-3 support to digest operations when using BoringSSL (because it's not universally supported as a hash member of all algorithms).

Wire up TLS 1.3 cipher configuration and honorCipherOrder with BoringSSL, using native backend defaults for legacy-only cipher lists. Remove obsolete test exclusions and narrow broad skips to recover supported crypto and TLS coverage.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@panva panva added tls Issues and PRs related to the tls subsystem. crypto Issues and PRs related to the crypto subsystem. tools Issues and PRs related to the tools directory. webcrypto Issues and PRs related to the Web Crypto API. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. labels Oct 22, 2026
@nodejs-github-bot

nodejs-github-bot commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/net
  • @nodejs/security-wg
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Oct 22, 2026
@panva
panva requested a review from jasnell October 22, 2026 10:18
@github-actions

This comment was marked as outdated.

Sign in to view
@codecov

codecov Bot commented Oct 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 41.17647% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.57%. Comparing base (727e0ca) to head (c76790a).
⚠️ Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/crypto/util.js 27.27% 7 Missing and 1 partial ⚠️
lib/internal/crypto/webidl.js 66.66% 1 Missing ⚠️
lib/internal/tls/wrap.js 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66922      +/-   ##
==========================================
+ Coverage   89.96%   90.57%   +0.61%     
==========================================
  Files         797      797              
  Lines      278494   278505      +11     
  Branches    53411    53538     +127     
==========================================
+ Hits       250540   252262    +1722     
+ Misses      18184    16579    -1605     
+ Partials     9770     9664     -106     
Files with missing lines Coverage Δ
src/crypto/crypto_common.cc 78.46% <ø> (ø)
src/crypto/crypto_hash.cc 69.01% <ø> (-0.39%) ⬇️
lib/internal/crypto/webidl.js 95.74% <66.66%> (+<0.01%) ⬆️
lib/internal/tls/wrap.js 95.62% <66.66%> (+<0.01%) ⬆️
lib/internal/crypto/util.js 97.81% <27.27%> (-0.37%) ⬇️

... and 115 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

panva added 4 commits October 22, 2026 14:58
@panva
tls,tools: update BoringSSL pin and TLS errors
41531b2
Use BoringSSL 0.20261020.0 for shared-library builds and expose the
package wrapper's version to the matrix updater.

The new verifier no longer emits UNABLE_TO_VERIFY_LEAF_SIGNATURE
after Node's verification callback accepts a missing-issuer error.
Expect UNABLE_TO_GET_ISSUER_CERT_LOCALLY for the affected leaf
certificates and suggest --use-system-ca for that error.

Drop the SSL_get_server_tmp_key() fallback now that BoringSSL supplies
SSL_get_peer_tmp_key() as a compatibility stub.

Refs: https://boringssl-review.googlesource.com/c/boringssl/+/103849
Refs: electron/electron@b457e70
Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
crypto: wire up SHA-3 with BoringSSL
dd40de0
Add SHA3-256, SHA3-384, and SHA3-512 to name lookup and getHashes().
BoringSSL exposes EVP_sha3_* descriptors but omits them from its
digest registry. Map the names directly to those descriptors so
node:crypto can use them too.

When using BoringSSL, limit WebCrypto SHA-3 support to digest
operations.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
tls: configure TLS 1.3 ciphers with BoringSSL
9ebf6da
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
test: remove obsolete BoringSSL skips
c76790a
Run supported DH, ECDH, legacy TLS, TLS 1.2 PSK, cipher metadata,
raw key, and X.509 date cases with BoringSSL. Assert its DH flags,
curve format errors, and name-constraint behavior. Narrow key/cert
array exclusions to the failing multi-identity cases.

Use modp5 for the DH group setter checks and remove the unused legacy
protocol fallback helper.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
panva force-pushed the boringssl-refresh branch from f699212 to c76790a Compare October 22, 2026 12:59
@github-actions

github-actions Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor
Platform Number of requisites Proportion of new derivations
x86_64-linux 544 -> 544 => no changes 4 / 544 = 0.7%
aarch64-linux 545 -> 545 => no changes 4 / 545 = 0.7%
x86_64-darwin 457 -> 457 => no changes 0 / 457 = 0.0%
aarch64-darwin 470 -> 470 => no changes 4 / 470 = 0.8%
Total 2016 -> 2016 => no changes 12 / 2016 = 0.5%
Changelog
@@ -107,12 +107,12 @@
-/nix/store/1kz13kf8hpvib8py2bwk9cz4rww084pj-boringssl-0.20260929.0 (aarch64-darwin)
-/nix/store/9qnmqyy3a96cxixkh5012vmdx7mmj8mn-boringssl-0.20260929.0 (aarch64-darwin)
-/nix/store/2vs0ylgshc4r3wvg9r4mdc1vzvj657a3-boringssl-0.20260929.0 (aarch64-linux)
-/nix/store/dqa82pf6zpbya2q5j5y27vqqrw79433a-boringssl-0.20260929.0 (aarch64-linux)
-/nix/store/50qpspny60wkd3n1s34mjj9hphp8lznj-boringssl-0.20260929.0 (x86_64-linux)
-/nix/store/ddvwnb04q65yd67zbv2n9983iir5yjwy-boringssl-0.20260929.0 (x86_64-linux)
-/nix/store/ripv3j3z8rq4nwzjp5avrdgr0h98dq4f-boringssl-0.20260929.0-bin (aarch64-darwin)
-/nix/store/8l13y89lh31qh05k4svx36kga52qpahr-boringssl-0.20260929.0-bin (aarch64-linux)
-/nix/store/l7l8zk0fgvcgciy0hdr6f4bxxn5gqhsx-boringssl-0.20260929.0-bin (x86_64-linux)
-/nix/store/vf8mvwr778rk7a8ii5ykjjbybmq8v8xq-boringssl-0.20260929.0-dev (aarch64-darwin)
-/nix/store/lhg2ws49qminj9ib132airsyb27ybl85-boringssl-0.20260929.0-dev (aarch64-linux)
-/nix/store/qfkyfg83vrhrhdlhw68z3rh3qzspva68-boringssl-0.20260929.0-dev (x86_64-linux)
+/nix/store/la0w0vyk0wpzyv3i2c0wiqdggjqx1vby-boringssl-0.20261020.0 (aarch64-darwin)
+/nix/store/w7nxxrjnypjbb64va1hfhdxn7b1y2x18-boringssl-0.20261020.0 (aarch64-darwin)
+/nix/store/cxzbln2ank856srbqbdpbdljjxyjjmd8-boringssl-0.20261020.0 (aarch64-linux)
+/nix/store/pcd93bv8a8sggy48pnj44hwn2938x685-boringssl-0.20261020.0 (aarch64-linux)
+/nix/store/52zl4z8025h6dij4wsx49896kw1clckz-boringssl-0.20261020.0 (x86_64-linux)
+/nix/store/q0ayjr9fwdf23wkzcbjdn1h6km11jgjm-boringssl-0.20261020.0 (x86_64-linux)
+/nix/store/nk67q3idl5vh4m1wnyb5mykr24s6787h-boringssl-0.20261020.0-bin (aarch64-darwin)
+/nix/store/92clk0vn1xy8m746m5sl7gpv81kq1yfj-boringssl-0.20261020.0-bin (aarch64-linux)
+/nix/store/qvc37vwnpm7jql42awzx3xb1akckg482-boringssl-0.20261020.0-bin (x86_64-linux)
+/nix/store/hcb9grrnc45kk19c7j4p42n6lm5r2gk4-boringssl-0.20261020.0-dev (aarch64-darwin)
+/nix/store/ay5w1l4svy28yz4cc3k7y17jwmqqn4hx-boringssl-0.20261020.0-dev (aarch64-linux)
+/nix/store/p92scpq9586m4h866vj8wh9vkicd61b0-boringssl-0.20261020.0-dev (x86_64-linux)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aduh95
aduh95 approved these changes Oct 22, 2026
View reviewed changes

@aduh95 aduh95 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nix changes LGTM, the rest RSLGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@panva panva added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Oct 22, 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 22, 2026
@nodejs-github-bot

nodejs-github-bot commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva added the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Oct 22, 2026
@github-actions github-actions Bot removed the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Oct 22, 2026
@nodejs-github-bot

nodejs-github-bot commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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 added the lacks-second-approval Commit Queue PRs awaiting a second collaborator approval or completion of the required wait. label Oct 24, 2026
jasnell
jasnell approved these changes Oct 24, 2026
View reviewed changes
@nodejs-github-bot

nodejs-github-bot commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Landed in 41b1e68...9b5d938

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

nodejs-github-bot pushed a commit that referenced this pull request Oct 24, 2026
@panva @nodejs-github-bot
tls,tools: update BoringSSL pin and TLS errors
a2ce2c6
Use BoringSSL 0.20261020.0 for shared-library builds and expose the
package wrapper's version to the matrix updater.

The new verifier no longer emits UNABLE_TO_VERIFY_LEAF_SIGNATURE
after Node's verification callback accepts a missing-issuer error.
Expect UNABLE_TO_GET_ISSUER_CERT_LOCALLY for the affected leaf
certificates and suggest --use-system-ca for that error.

Drop the SSL_get_server_tmp_key() fallback now that BoringSSL supplies
SSL_get_peer_tmp_key() as a compatibility stub.

Refs: https://boringssl-review.googlesource.com/c/boringssl/+/103849
Refs: electron/electron@b457e70
Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Oct 24, 2026
@panva @nodejs-github-bot
crypto: wire up SHA-3 with BoringSSL
7e58295
Add SHA3-256, SHA3-384, and SHA3-512 to name lookup and getHashes().
BoringSSL exposes EVP_sha3_* descriptors but omits them from its
digest registry. Map the names directly to those descriptors so
node:crypto can use them too.

When using BoringSSL, limit WebCrypto SHA-3 support to digest
operations.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Oct 24, 2026
@panva @nodejs-github-bot
tls: configure TLS 1.3 ciphers with BoringSSL
a0b4170
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Oct 24, 2026
@panva @nodejs-github-bot
test: remove obsolete BoringSSL skips
9b5d938
Run supported DH, ECDH, legacy TLS, TLS 1.2 PSK, cipher metadata,
raw key, and X.509 date cases with BoringSSL. Assert its DH flags,
curve format errors, and name-constraint behavior. Narrow key/cert
array exclusions to the failing multi-identity cases.

Use modp5 for the DH group setter checks and remove the unused legacy
protocol fallback helper.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@nodejs-github-bot nodejs-github-bot closed this Oct 24, 2026
@nodejs-github-bot nodejs-github-bot removed commit-queue PRs queued for automated landing through the Commit Queue. lacks-second-approval Commit Queue PRs awaiting a second collaborator approval or completion of the required wait. labels Oct 24, 2026
@panva
panva deleted the boringssl-refresh branch October 25, 2026 06:00
@aduh95 aduh95 mentioned this pull request Oct 27, 2026
2026-10-28, Version 27.0.0-alpha.0.0.0 (Alpha) #67062
Merged
aduh95 pushed a commit that referenced this pull request Nov 12, 2026
@panva @aduh95
crypto: wire up SHA-3 with BoringSSL
12f0e03
Add SHA3-256, SHA3-384, and SHA3-512 to name lookup and getHashes().
BoringSSL exposes EVP_sha3_* descriptors but omits them from its
digest registry. Map the names directly to those descriptors so
node:crypto can use them too.

When using BoringSSL, limit WebCrypto SHA-3 support to digest
operations.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Nov 12, 2026
@panva @aduh95
tls: configure TLS 1.3 ciphers with BoringSSL
0504aab
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Nov 12, 2026
@panva @aduh95
test: remove obsolete BoringSSL skips
4cd1a7f
Run supported DH, ECDH, legacy TLS, TLS 1.2 PSK, cipher metadata,
raw key, and X.509 date cases with BoringSSL. Assert its DH flags,
curve format errors, and name-constraint behavior. Narrow key/cert
array exclusions to the failing multi-identity cases.

Use modp5 for the DH group setter checks and remove the unused legacy
protocol fallback helper.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@panva panva mentioned this pull request Nov 12, 2026
[v26.x backport] crypto and TLS fixes and features #67442
Closed
@panva panva added the backport-open-v26.x Indicate that the PR has an open backport label Nov 12, 2026
aduh95 pushed a commit that referenced this pull request Nov 13, 2026
@panva @aduh95
tls,tools: update BoringSSL pin and TLS errors
ecbd6f7
Use BoringSSL 0.20261020.0 for shared-library builds and expose the
package wrapper's version to the matrix updater.

The new verifier no longer emits UNABLE_TO_VERIFY_LEAF_SIGNATURE
after Node's verification callback accepts a missing-issuer error.
Expect UNABLE_TO_GET_ISSUER_CERT_LOCALLY for the affected leaf
certificates and suggest --use-system-ca for that error.

Drop the SSL_get_server_tmp_key() fallback now that BoringSSL supplies
SSL_get_peer_tmp_key() as a compatibility stub.

Refs: https://boringssl-review.googlesource.com/c/boringssl/+/103849
Refs: electron/electron@b457e70
Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Backport-PR-URL: #67442
Reviewed-By: Antoine du Hamel <[email protected]>
@panva panva added backported-to-v26.x PRs backported to the v26.x-staging branch. and removed backport-open-v26.x Indicate that the PR has an open backport labels Nov 13, 2026
@aduh95 aduh95 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. labels Nov 20, 2026
aduh95 pushed a commit that referenced this pull request Nov 20, 2026
@panva @aduh95
tls: configure TLS 1.3 ciphers with BoringSSL
bf421ad
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
This was referenced Nov 20, 2026
2026-11-30, Version 24.23.0 'Krypton' (LTS) #67663
Open
2026-11-30, Version 26.14.0 'Lithium' (LTS) #67664
Open
@aduh95 aduh95 added backported-to-v24.x PRs backported to the v24.x-staging branch. and removed dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. labels Nov 20, 2026
Renegade334 pushed a commit to Renegade334/node that referenced this pull request Nov 21, 2026
@panva @aduh95
tls: configure TLS 1.3 ciphers with BoringSSL
94f626c
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Renegade334 pushed a commit to Renegade334/node that referenced this pull request Nov 21, 2026
@panva @aduh95
tls,tools: update BoringSSL pin and TLS errors
c039ef5
Use BoringSSL 0.20261020.0 for shared-library builds and expose the
package wrapper's version to the matrix updater.

The new verifier no longer emits UNABLE_TO_VERIFY_LEAF_SIGNATURE
after Node's verification callback accepts a missing-issuer error.
Expect UNABLE_TO_GET_ISSUER_CERT_LOCALLY for the affected leaf
certificates and suggest --use-system-ca for that error.

Drop the SSL_get_server_tmp_key() fallback now that BoringSSL supplies
SSL_get_peer_tmp_key() as a compatibility stub.

Refs: https://boringssl-review.googlesource.com/c/boringssl/+/103849
Refs: electron/electron@b457e70
Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
tls,tools: update BoringSSL pin and TLS errors
4bf5258
Use BoringSSL 0.20261020.0 for shared-library builds and expose the
package wrapper's version to the matrix updater.

The new verifier no longer emits UNABLE_TO_VERIFY_LEAF_SIGNATURE
after Node's verification callback accepts a missing-issuer error.
Expect UNABLE_TO_GET_ISSUER_CERT_LOCALLY for the affected leaf
certificates and suggest --use-system-ca for that error.

Drop the SSL_get_server_tmp_key() fallback now that BoringSSL supplies
SSL_get_peer_tmp_key() as a compatibility stub.

Refs: https://boringssl-review.googlesource.com/c/boringssl/+/103849
Refs: electron/electron@b457e70
Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
crypto: wire up SHA-3 with BoringSSL
ae045f4
Add SHA3-256, SHA3-384, and SHA3-512 to name lookup and getHashes().
BoringSSL exposes EVP_sha3_* descriptors but omits them from its
digest registry. Map the names directly to those descriptors so
node:crypto can use them too.

When using BoringSSL, limit WebCrypto SHA-3 support to digest
operations.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
tls: configure TLS 1.3 ciphers with BoringSSL
164bb01
Translate cipher-suite names into protocol IDs for BoringSSL's TLS 1.3
configuration API. Handle duplicates and unknown names, reject nonempty
lists without a supported suite, and implement honorCipherOrder through
preference flags.

Cover suite restrictions, explicit preference ordering, legacy-only
lists, runtime defaults, and command-line overrides.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
test: remove obsolete BoringSSL skips
d1a60f0
Run supported DH, ECDH, legacy TLS, TLS 1.2 PSK, cipher metadata,
raw key, and X.509 date cases with BoringSSL. Assert its DH flags,
curve format errors, and name-constraint behavior. Narrow key/cert
array exclusions to the failing multi-identity cases.

Use modp5 for the DH group setter checks and remove the unused legacy
protocol fallback helper.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#66922
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@aduh95 aduh95 aduh95 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. backported-to-v24.x PRs backported to the v24.x-staging branch. backported-to-v26.x PRs backported to the v26.x-staging branch. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. crypto Issues and PRs related to the crypto subsystem. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. tls Issues and PRs related to the tls subsystem. tools Issues and PRs related to the tools directory. webcrypto Issues and PRs related to the Web Crypto API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@panva @nodejs-github-bot @jasnell @aduh95
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.