Skip to content

Use Tor >= 0.4.9 in tor-hidden-service - #133

Merged
Marketen merged 1 commit into
mainfrom
fix/tor-0.4.9
Oct 29, 2026
Merged

Marketen merged 1 commit into
mainfrom
fix/tor-0.4.9

Conversation

@Marketen

@Marketen Marketen commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Since 2026-10-28 ~19:50 UTC the Tor network consensus lists Desc=3 Microdesc=3 as required protocols. Tor < 0.4.9 now refuses to work as a client:

[err] At least one protocol listed as required in the consensus is not supported by this version of Tor. [...] The missing protocols are: Desc=3 Microdesc=3

tor-hidden-service is built from alpine:edge with an unpinned tor, so each package release ships whatever Tor edge had at build time. The last release is from 2024, so users' hidden services shut down when the consensus changed and the monitors can no longer reach them: on the monitor side sum(up) dropped from ~279/307 targets to ~5–13, with No more HSDir available to query for the missing onions.

Change

  • tor-hidden-service/Dockerfile: alpine:edge → alpine:3.23 and require tor>=0.4.9. The release build gets the latest Tor in Alpine 3.23 (currently 0.4.9.14); the build fails rather than ship Tor < 0.4.9.

The image is built once in CI at release time, so every user installing a given release gets the same Tor. Hidden service keys live in the tor-hidden-service volume and the tor user keeps uid 100, so onion addresses (and registrations) are preserved.

Tested locally: Tor 0.4.9.14 bootstraps to 100%; starting it on a volume with an existing hidden service keeps the same .onion hostname.

Merging to main publishes a new patch release via the Main workflow; users then need to update the package. Worth releasing a patch every few months so users keep getting a current Tor.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marketen Marketen changed the title Use Tor >= 0.4.9 in tor-hidden-service Pin Tor to 0.4.9.15 in tor-hidden-service Oct 29, 2026
@Marketen Marketen changed the title Pin Tor to 0.4.9.15 in tor-hidden-service Use Tor >= 0.4.9 in tor-hidden-service Oct 29, 2026
@Marketen
Marketen merged commit 88ce4d0 into main Oct 29, 2026
7 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