Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

did:onion in Docker images #137

Open
clehner opened this issue Apr 8, 2021 · 1 comment
Open

did:onion in Docker images #137

clehner opened this issue Apr 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@clehner
Copy link
Contributor

clehner commented Apr 8, 2021

Our did:onion implementation (#125) expects a local SOCKS5h proxy at 127.0.0.1:9050. In the Docker images this is not available. Should the Docker images be updated to include Tor? Or should users of the Docker image be expected to bring their own Tor if they want to use did:onion? Should there be a CLI option, env var, and/or resolution input option for the Tor proxy host/port/URL for did:onion to use instead of socks5h://127.0.0.1:9050?

@clehner
Copy link
Contributor Author

clehner commented Apr 12, 2022

Maybe, for Universal Resolver (#138), a separate Tor docker container could be added in docker-compose.yml, using a bridget network shared with the DIDKit container. Then DIDKit could access the local Tor proxy.

Or, maybe port forwarding could be used instead of a bridged network; DIDKit would then need to be updated to make the Tor proxy URL configurable (e.g. using an environmental variable) so that it could use the proxy in the other container.

@clehner clehner added the enhancement New feature or request label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant