Skip to content

Fix Tor control password setup#18

Open
Recoveredd wants to merge 1 commit into
Raimo33:masterfrom
Recoveredd:bounty-tor-hidden-service-reachability
Open

Fix Tor control password setup#18
Recoveredd wants to merge 1 commit into
Raimo33:masterfrom
Recoveredd:bounty-tor-hidden-service-reachability

Conversation

@Recoveredd

Copy link
Copy Markdown

Fixes #1

Summary

  • derive the Tor hashed control password at container startup from TOR_CONTROL_PASSWORD
  • pass the same TOR_CONTROL_PASSWORD to the Tor client and Knots so onion service authentication cannot drift
  • wait for the Tor client healthcheck before starting Knots
  • document that the hash is now generated automatically

Testing

  • ruby -e "require 'yaml'; YAML.load_file('docker-compose.yml')"
  • sh -n services/tor-client/entrypoint.sh
  • git diff --check

Note: I could not run docker compose config locally because Docker is not installed in this environment.

@Recoveredd Recoveredd mentioned this pull request May 11, 2026
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.

Node not reachable

1 participant