Skip to content

security: update Tor to 0.4.9.14 (OpenSSL 3.5.9) on desktop, Android and iOS - #3710

Merged
holmesworcester merged 12 commits into
developfrom
security/tor-0.4.9.14
Oct 27, 2026
Merged

holmesworcester merged 12 commits into
developfrom
security/tor-0.4.9.14

Conversation

@holmesworcester

Copy link
Copy Markdown
Collaborator

Summary

Updates the Tor shipped in Quiet to Tor 0.4.9.14 (OpenSSL 3.5.9) on every platform. See Tor's 0.4.9.13 and 0.4.9.14 security releases.

  • Desktop: Linux, macOS (universal) and Windows Tor binaries -> 0.4.9.14; OpenSSL 3.5.9.
  • Android: arm64-v8a libtor.so -> 0.4.9.14 (x86_64 emulator build fetched by fetch-android-tor.sh, same version); fetch-android-tor signing key refreshed.
  • iOS: Tor.framework pod -> 409.14.1 (Tor 0.4.9.14).
  • Stop shipping the unused OpenSSL 1.1 libraries (libssl.so.1.1, libcrypto.so.1.1, libssl.so, Windows *-1_1-x64.dll) and the AppImage LD_PRELOAD of one.
  • New scripts/check-tor-binaries.mjs (npm run check:tor-binaries), run in CI, fails the build on a stale Tor, older OpenSSL, or a vendored OpenSSL 1.1 library; also checks packaged desktop builds.
  • Changelog entry; Android identity probe script builds as C++20.

Testing

  • npm run check:tor-binaries: OK for linux x64, macOS (both slices), windows, android arm64 + x86_64, iOS pod version; linux tor executed and reports 0.4.9.14 / OpenSSL 3.5.9.
  • npm run test:tor-binaries: 11/11. appimage-launcher.test.cjs 9/9, qss-community-harness.test.cjs 9/9, iOS simulator build script tests 9/9.
  • Not run here: packaged-appimage.test.cjs and fetch-android-tor.test.cjs (need a built AppImage / downloaded APK), iOS framework build (needs macOS), device runs of Android/macOS/Windows tor (versions verified statically from embedded strings).

holmesworcester and others added 12 commits October 25, 2026 11:33
Run scripts/update-tor-binaries-desktop.sh, which takes the tor shipped in Tor
Browser 15.0.26 for desktop (Linux, macOS universal, Windows) and Android
arm64-v8a. Tor 0.4.9.13 and 0.4.9.14 are security releases:
https://forum.torproject.org/t/security-release-0-4-9-13/22178/1
https://forum.torproject.org/t/security-release-0-4-9-14/22241

Every download was GPG-verified against the pinned Tor Project primary key
EF6E286DDA85EA2A4BA7DE684E2C6E8793298290. Tor rotated its signing subkey
(022DA248432D2A0E0F54E65E316C1FACD62D07D9, created 2026-08-11) and the old
subkey expires 2026-10-26, so scripts/tor-signing-key.asc is refreshed with the
same primary key and its new subkey.

The x86_64 Android emulator scripts move to the same Tor Browser release.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tor 0.4.9 links OpenSSL 3 (libssl.so.3 and libcrypto.so.3, found through the
LD_LIBRARY_PATH the backend sets for it), and the Windows tor.exe links OpenSSL
statically, so nothing loads the OpenSSL 1.1 copies. The only thing that
referenced them was a leftover from Tor 0.4.7: the Linux AppImage launcher
exported LD_PRELOAD for usr/lib/libssl.so (OpenSSL 1.1.1, 2018) into Electron,
the backend and Tor. Remove the preload, the three AppImage extraFiles that
installed those libraries, the pullLibs step that downloaded another copy from
S3, and the libraries themselves.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
npm run check:tor-binaries (scripts/check-tor-binaries.mjs) reads the Tor and
OpenSSL versions embedded in every vendored binary (Linux, each macOS slice,
Windows, Android arm64-v8a and x86_64 when present), runs the binary for the
host OS, checks the iOS Tor.framework pin, and fails on any OpenSSL 1.1 library.
It also accepts --tor-dir to check a packaged app. The Check workflow runs it on
Linux and Windows; the desktop distributable build runs it on the unpacked app
for Linux, both macOS architectures and Windows; the packaged AppImage test runs
it on the final AppImage.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tor.framework v409.14.1 (tag commit 2b1192c81fc359bcf1c21a16526b76a2a2c1f419)
bundles tor 0.4.9.14, libevent 2.1.13, OpenSSL 3.6.5 and liblzma 5.8.4. The
podspec verifies tor.xcframework.zip against SHA-256
823d98fcafd8eba089f31b32989ad70e15a0e8a1b5709bc0d5941fb09ef1b625, and
'tor 0.4.9.14' / 'OpenSSL 3.6.5' are present in the ios-arm64,
ios-arm64_x86_64-simulator and macos-arm64_x86_64 slices.

The native regression (scripts/tor-regression/run.sh) passes on an iOS 18.5
simulator and asserts the live GETINFO version.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libssl.so.3 carries no version string, so a stale copy beside a current
libcrypto passed. Found in review.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s import resolves

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…Podfile.lock

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	.github/workflows/check.yml
#	CHANGELOG.md
#	package.json
@holmesworcester
holmesworcester merged commit 85c2e48 into develop Oct 27, 2026
44 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant