Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Connect through TOR network? #143

Open
psmis2 opened this issue Oct 17, 2017 · 2 comments
Open

Connect through TOR network? #143

psmis2 opened this issue Oct 17, 2017 · 2 comments

Comments

@psmis2
Copy link

psmis2 commented Oct 17, 2017

Is there a way to do it or any plans to add support for it?

@kontrollanten
Copy link
Collaborator

Until now we haven't talked about it. It sounds interesting. I have no experience of integrating with TOR though. https://github.com/jamesacampbell/elector seems to have done a TOR integration with Electron. We'll investigate this further when time comes :)

@SkyzohKey
Copy link

@kontrollanten you basically just need to define a proxy for the Electron webview/process. Make it not Tor targeted but proxy targeted, as Tor is just a SOCKS5 proxy. This way you enable Tor user to allow their Protonmail account (detect if the proxy is set to 127.0.0.1:9050 and set the webview URL to the Protonmail Tor onion service) but you also permits other uses to use a pmregular proxy (or even I2P users).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants