application icon indicating copy to clipboard operation
application copied to clipboard

Connect through TOR network?

Open psmis2 opened this issue 7 years ago • 2 comments

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

psmis2 avatar Oct 17 '17 00:10 psmis2

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 :)

kontrollanten avatar Oct 19 '17 22:10 kontrollanten

@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).

SkyzohKey avatar Mar 03 '18 21:03 SkyzohKey