Skip to content

What Changed in 2.1.0

Sam Bent edited this page Nov 3, 2026 · 9 revisions

What Changed in 2.1.0

2.1.0 keeps your keys, your key-volume layout and your *_TOR_SERVICE_HOSTS lines exactly as they were, so your onion address stays the same. An upgrade from 2.0.4 and a rollback back to it were both tested with the same key. What changed is the compose file around them: a copy of the 2.0.4 file will not pick up the new settings.

The full record is in the CHANGELOG.

2.0.4 against 2.1.0

Area 2.0.4 2.1.0
CLI None. docker run <image> version --json just starts Tor. 14 subcommands (setup, show, status, doctor, verify-image, version --json, info --json and more), plus manifest.json. See The hiddenforge CLI.
Seccomp Both compose files set seccomp=unconfined, on the belief that Tor's sandbox needed it. Removed. The engine's default profile applies, stacked under Tor's own Sandbox 1. doctor fails a container that still sets it.
ulimits.nproc Set. Removed. It is counted per host uid, so on a busy host Tor could not start at all. pids_limit: 256 is the cap.
DNS Not set on the tor service. dns: 127.0.0.1. A backend name the engine cannot answer never reaches your host's resolver.
Restart policy restart: unless-stopped in both files. Required. unless-stopped on Docker, always on Podman. The container exits on purpose to pick up a moved backend and relies on the restart.
Podman file restart: unless-stopped. After a reboot, both containers stayed stopped. restart: always, no healthcheck, three capabilities. See Rootless Podman.
Backend follow The backend name is resolved once, at startup. Re-resolved every 30 seconds. After two successful lookups that no longer include the old IP, the container exits and restarts with a fresh lookup. If the backend was not up at boot, it is configured once it resolves. A backend that is merely down causes no restart.
Readiness No ready signal: the healthcheck checked only that Tor had bootstrapped and built a circuit. ready waits until this Tor has uploaded the descriptor, so a client can connect the moment it is reported. A container with no service configured is never ready.
Vanguards After repeated quick crashes it was disabled for the life of the container. Paused for 10 minutes, then retried with a fresh budget.
Key-volume checks No such checks. A symlinked service directory stops the container with an error naming the path. A key file with more than one hard link is not taken over (a warning names it), so remove the extra links.
Pinned packages tor 0.4.9.11, python3 3.12.14. openssl and zlib came from the base image. tor 0.4.9.14, python3 3.12.15, openssl 3.5.9 and zlib 1.3.2-r1, both pinned explicitly. (setuptools 84.0.0 is used to build the Vanguards environment and is removed from the image.)
Image Multi-platform index; only the amd64 manifest was reproduced. Two-platform (amd64 and arm64) image whose index digest two independent clean-checkout builds reproduced. See Reproducing the Build.

What to change in your compose file

If you wrote your own compose file from the 2.0.4 one, make these changes:

  1. Remove seccomp=unconfined from security_opt.
  2. Remove ulimits.nproc.
  3. Add dns: 127.0.0.1 to the tor service.
  4. Name each backend by its compose service name. An external hostname will no longer resolve.
  5. Keep a restart policy: unless-stopped on Docker, always on Podman.
  6. On Podman, switch to the shipped podman-compose.yml.
  7. Run hiddenforge doctor against the running container to confirm.

The simplest route is to download the current docker-compose.yml (or podman-compose.yml) again and carry your *_TOR_SERVICE_HOSTS line across. Your key directory needs no changes. See Upgrading Safely for the order to do it in.

Signing status

2.1.0 is signed with ML-DSA-65 only, as are 2.1.1 to 2.1.6. A hardware (SSH-FIDO2) signature over the same digest may be added later; it would not need a rebuild or a new image. hiddenforge verify-image verifies the ML-DSA half and refuses by default because the hardware half is missing; pass --allow-pq-only to accept the ML-DSA signature alone, and the result reports complete: false. See Verifying the Image.

Clone this wiki locally