Repository navigation
What Changed in 3.0.2
Pull the new image and recreate the container. The compose file, the key folder, your *_TOR_SERVICE_HOSTS lines and the onion address stay as they are, and the healthcheck your compose file already declares keeps working.
The full record is in the CHANGELOG.
| If you... | Then |
|---|---|
| Run a stack | Pull 3.0.2 and recreate the container. Nothing else changes in the stack. |
Run status, show or doctor from a script, outside the stack's folder, with two or more stacks that each have a tor service |
Pass --container NAME (the container's own name). Before, the script silently got the first stack; now the command stops and lists the stacks. |
| Verify releases | Release signing changes. Read the next section. |
Keep a deploy.sh written by an earlier hiddenforge setup
|
Write it again with hiddenforge setup --force (same answers). An old deploy.sh sets the key directory to 0700 on every run, which is the lock-out described under Generated files. |
Update the host CLI together with the image. The fixes below are in scripts/hiddenforge, and the 3.0.2 CLI is the one that knows the new signing key.
The release digest is now signed with ML-DSA-87 (FIPS 204, security category 5) as well as ML-DSA-65. 3.0.2 carries both, so the 3.0.1 CLI, which knows only the ML-DSA-65 key, still verifies it. Releases after 3.0.2 carry ML-DSA-87 only.
| Question | Answer |
|---|---|
| Which files? |
hiddenforge.digest.mldsa87 with sambent-mldsa87.pub, and hiddenforge.digest.mldsa with sambent-mldsa.pub. |
| Is there a hardware (SSH-FIDO2) signature? | Still no. hiddenforge verify-image needs --allow-pq-only and reports complete: false. |
| What does the 3.0.2 CLI require? | The ML-DSA-87 signature for any release after 3.0.1. It checks every ML-DSA signature in the set and checks each key against its pin before verifying anything. |
| Can a release lose its ML-DSA-87 file and still pass? | No. ML-DSA-65 alone is accepted only for the releases made before the change (2.0.4 to 3.0.1, listed by digest in the CLI). |
| Was 3.0.1 signed again? | An ML-DSA-87 signature over the 3.0.1 digest was added to its signature set. The image did not change. |
| Do I need a new tool? | No. Stock OpenSSL 3.5 or later checks both levels. See Verifying the Image. |
The key hashes are in Verifying the Image. The signing key is still a file on the maintainer's workstation, so the reproducible build remains the second check.
The 3.0.2 index digest was built three times: two clean builds on one machine (base images from dhi.io) and one on another (base images from a mirror of the same digests). All three used BuildKit v0.30.0, and the three OCI archives are byte-for-byte identical. Both machines are the maintainer's, so a build by someone else would still add something. The steps are on Reproducing the Build.
| Part | 3.0.1 | 3.0.2 |
|---|---|---|
| Tor | 0.4.9.17 | 0.4.9.18, which adds the directory authority sekhmet in place of bastet, makes Tor's TLS group list work with OpenSSL 4.x, and fixes a build check that could leave out hardening flags |
OpenSSL (libcrypto3, libssl3) |
3.5.9-r1 | 3.5.10-r2 |
zstd-libs |
1.5.7-r2 | 1.6.0-r1, used for Tor's directory compression |
OpenSSL 3.5.10 fixes the issues in OpenSSL's advisory of 2026-11-10 (five rated Low by OpenSSL: AES-GCM-SIV, the QUIC client and CMS encryption) and those listed since against 3.5.9. Tor and HiddenForge use none of those code paths, but scanners listed them against 3.0.1. 3.0.2 had 0 findings from trivy and grype on 2026-12-03.
| Area | What changed |
|---|---|
status, show, doctor
|
With several compose projects that each run a tor service, the first match was used, and it could be another stack. They now prefer the stack of the current directory (or of COMPOSE_PROJECT_NAME). If that does not settle it, the command stops, lists the candidates with their folders and says to pass --container <name> or to cd into the stack. |
| Podman | They also look in Podman. Without DOCKER_HOST pointing at Podman's socket they asked only the rootful Docker engine and reported nothing, or somebody else's tor. Docker and Podman are both asked now, and the CLI says which one it used. HIDDENFORGE_ENGINE=docker or podman still pins one. |
doctor on Podman |
A stack made by setup --runtime podman failed the AppArmor check, because the Docker CLI answers "apparmor" on Podman's socket even where Podman has no profile. Podman is now asked directly; if it cannot be asked, the check warns. |
doctor and status from another folder |
With --container, they read the key directory that container mounts and say which one. A missing directory says to pass --keys. |
doctor on a locked-out stack |
It failed to notice a key directory the container's tor user could not enter, and a container the engine reported unhealthy. It now fails both and says to run chmod 751 on the directory. An engine that is still starting is a warning. |
rotate |
It keeps the key directory's mode, on the host and in the image. It used to make the new directory 0700, which locked a root-started container's tor user out of a host-owned key volume (0751) until the next start, and doctor failed in between. |
unseal-keys, client-auth
|
They use the engine and the image of the container that mounts the key directory, stopped ones included. Before, unseal-keys could say "no sealed key; nothing to do" for a key that was sealed, and both ran the published :latest. --image and HIDDENFORGE_IMAGE still win. |
unseal-keys, --no-root --encrypt-keys under rootless Podman |
The passphrase file stays 0600 and the tor user's; the CLI reads it through podman unshare, so the host user no longer gets "Permission denied". |
unseal-keys on an old image |
It says the image does not have the command and that 3.0.0 or later is needed. |
| Error messages | Every command printed a JSON error document when run without --json. They now print one error: line with the same exit code, and --json still gives the document. The same holds for setup, rotate, backup, restore, encrypt-key and decrypt-key inside the image. |
| Mistyped options | One error: line that names hiddenforge <command> --help, or one JSON document under --json, with exit code 2. |
vanity |
Without --json it prints plain text with the paths on this host, and runs in the engine that holds the key directory. --bench no longer creates a key directory. A key directory that cannot be created is an error line, not a traceback. |
verify-image |
When the ML-DSA half cannot be checked, it says what is true: a flag is offered only when it has a verified half to accept, the OpenSSL 3.5 advice appears only when that is what is missing, and the closing line names the half you accepted. |
setup |
address_command and ready_command in hiddenforge.json, and the show line it prints, add --keys when it is not ./tor-keys. It warns when the backend host is localhost, 127.x.x.x or ::1, because that is the Tor container itself, not your app. |
--help |
Every option has a help line, on the host and inside the image. |
docker run <image> --help, or a command the image does not have, no longer starts Tor. --help prints the command list and exits 0. An unknown command is refused with exit 2, and a host-only one says it runs on the host. With no argument the image still runs the service.
client-auth and unseal-keys print an error as one line inside the image, unless you give --json.
| File | What changed |
|---|---|
deploy.sh |
A second run no longer sets the key directory to 0700 on a live stack, which left Tor unable to open its keys while doctor said PASS. The directory is now 0751, the mode the container sets itself (no-root mode keeps 0700). A stack that was already locked out recovers when deploy.sh runs once more, without a restart. |
deploy.sh |
It checks for compose.yml first and creates nothing if the file is missing. Under Podman, when every service of the stack already runs, it says so and does not run up, which used to recreate both containers for about a minute. It prints the command that applies an edited compose file or a newer image (up -d --force-recreate). |
deploy.sh |
It no longer says the .onion file exists before Tor has written it, and under Podman it prints the hiddenforge show command to run. |
README.txt |
It says how to uninstall, with a warning that deleting the key directory loses the address for ever, and gives a backup command that works (sudo hiddenforge backup ..., or podman unshare hiddenforge backup ... under rootless Podman) and the matching restore. It also names the podman network rm command for the two networks podman-compose leaves behind. |
hiddenforge.json |
merge and bare_command are now cd <output folder> && docker compose -f compose.yml -f compose.service.yml up -d (podman-compose for Podman), which works from any directory. Your own compose.yml goes in the output folder. The fields and contract_version 1 are unchanged. |
examples/demo/app.yml |
The demo backend gains NET_BIND_SERVICE. Without it nginx could not bind port 80 under rootless Podman and exited, so the address served nothing. |
The offline wizard writes the same files as hiddenforge setup for the same answers, except output_dir in hiddenforge.json: an absolute path from the command, the typed folder name in the wizard. What changed is how it behaves:
- Cards show without scrolling on a short window.
- Every input is tied to its label, and focus goes to the step heading or the field you were working on.
- Step 1 is checked when you leave it, with a plain message under the field.
- The backend host starts empty, with
e.g. webas a hint, and has to be filled in. - Each field says what it is, and step 5 says what to do next: where
compose.ymlgoes, how long the address takes, how to back up and how to uninstall. - The backup step gives the command that works (
hiddenforge backup, withsudoorpodman unshare). - The check of the page is at the top of every step: one command that compares its SHA-256 with the file at the release tag.
- Reduced motion is respected.
Start here
Older releases
Going deeper
- The Security Model
- Verifying the Image
- Reproducing the Build
- The hiddenforge CLI
- Rootless Podman
- Backing Up Your Onion Address
- Upgrading Safely
- Running Multiple Services
Help