Repository navigation
chore: bump node to v24.22.1 (43-x-y) - #55161
Conversation
Node.js v24.22.1 includes the upstream version of Electron's SPKI blocklist patch, so tls_reject_chains_containing_blocked_public_keys.patch no longer applies. Replace it with a smaller patch on top of the upstream implementation that keeps the NODE_EXTERN test hooks used by Electron's testing binding (spec/cert-revocation.spec.ts) and makes the new CheckSPKIs() loop use OPENSSL_SIZE_T, since BoringSSL's sk_X509_num() returns size_t. Ref: nodejs/node#66871 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_011amPfqBgESJFaWVNQhad62
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_011amPfqBgESJFaWVNQhad62
There was a problem hiding this comment.
I reviewed this Node roll and didn't find any bugs. It swaps Electron's own TLS public-key blocklist patch for a thinner adapter on top of the upstream one, so a human should still check the TLS behaviour.
What was reviewed (from a standalone clone, so I couldn't see the upstream Node source):
tls_adapt_the_upstream_spki_blocklist_for_electron.patch: it has a proper explanatory body and is added to.patchesin place of the deletedtls_reject_chains_containing_blocked_public_keys.patch.- The new
node::crypto::AddBlockedSPKIForTesting/ClearBlockedSPKIsForTestingdeclarations match howshell/common/api/electron_api_testing.cc:44-45,303-314declares and calls them, andspec/cert-revocation.spec.tsstill uses them. - The
OPENSSL_SIZE_Tloop index andstatic_cast<int>depth change inCheckSPKIs()match the patch's stated purpose (sk_X509_num()returnssize_tunder BoringSSL).
Extended reasoning...
This is a DEPS bump from Node v24.22.0 to v24.22.1. Most of the 13 patch files are just re-exported, but the Electron-carried TLS public-key blocklist patch is deleted and replaced by a smaller patch that depends on Node v24.22.1 now shipping the blocklist itself. That touches certificate-chain verification in src/crypto/crypto_context.cc, which is security-sensitive. This checkout is a standalone clone, so I couldn't confirm that the upstream blocklist covers everything the deleted patch did. CI runs spec/cert-revocation.spec.ts, but a human should still look before this merges.
The test added with Node v24.22.1 builds a startup snapshot via --build-snapshot, which Electron's binary does not support (same as the existing parallel/test-snapshot entries). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_011amPfqBgESJFaWVNQhad62
|
Release Notes Persisted
|
Electron 43.8.4 updates its embedded Node.js to the v24.22.1 security release (electron/electron#55161). The app and Setup's portable runtime now run the same Node. Electron 43.8.4 also fixes: - a macOS File System Access blocklist bypass (electron/electron#54677); - further blocklist gaps (electron/electron#55331); - asar handling (electron/electron#55179, electron/electron#55185); - tzdata, updated to 2026e (electron/electron#55336). OpenSSL 3.5.9 reaches only Setup's runtime, because Electron's Node uses BoringSSL. - Every Electron pin moves from 43.8.3 to 43.8.4: package.json, the lockfile, the three release input profiles, the Windows pin constant, the linux-inputs hash in the AppImage and DEB contracts, tests and docs. ABI stays 148. - The package's checksums.json matches the official SHASUMS256.txt (75/75), and #363 enforces it at build time. The binary, releases.json and Electron's DEPS all report Node 24.22.1 with ABI 148. src/api/hooks.cc is unchanged since Node 24.22.0, so the #135 fix still comes from upstream Node. - Electron 43.8.4's Linux zips store most files as 0666 or 0777, and so do 44.10.0's and 45.1.0's; the packager keeps stored modes. The Linux thin-app builder now clears group and other write on Electron's extracted files, never through a symlink. This restores 43.8.3's modes exactly. - The AppImage's final verifier now refuses any regular file other than the sandbox that isn't 0644 or 0755. The DEB's verifier already did. Follow-up: #378 (mode gates in the thin-folder verifiers). Closes #371 Co-authored-by: Copilot <[email protected]> Copilot-Session: 9e7ec7a7-8690-49e5-9d55-492fedc3027a
Updating Node.js to v24.22.1.
See all changes in v24.22.0..v24.22.1
Notes: Updated Node.js to v24.22.1.