-
Notifications
You must be signed in to change notification settings - Fork 282
Description
Is your feature request related to a problem? Please describe.
WHY? - Because security matters and using Tor Client Authorization for personal nodes is crucial.
Scenario: I am running my own Private Electrum Server exposed via Tor. The service can be indexed within tor, therefore, Tor Authorization is being used to reject unwanted/unauthorized clients. In this scenario, the Native Tor integration is not enough, because the Tor instance needs to be configurable to use Tor Client Authorization keys.
For Monero in Cake Wallet this is ALREADY solved (at least on Android) using the SOCKS Proxy configuration pointing to Android system-wide Orbot instance (which is fully configurable), and can be configured with Tor Client Authorization keys (and run WITHOUT VPN mode to save the VPN slot for another/personal VPN service etc..)
Because the proxy configuration is currently not available for Bitcoin in Cake wallet, connecting to Electrum server over tor with Tor Client Authorization is impossible due to the lack of configuration for socks proxy and/or built-in cake wallet's tor instance.
Describe the solution you'd like
The solution would be mirroring the feature that already exists for Monero - SOCKS proxy configuration for Electrum nodes. This way native Tor might be disabled and system-wide Orbot configured with Tor Client Authorization keys could be used to successfully connect to Hidden Electrum Service with Tor Authorization.
Describe alternatives you've considered
The alternative would be a cake wallet's built-in tor daemon configuration option (e.g.: simple text window with the additonal config, similar to what Orbot provides). However, this alternative might be an overkill... However, if the SOCKS proxy config is available then I am not sure why would there be a need in built-in tor...
Additional context
Having said that, the lack of ability to connect to hardened Electrum Server via tor is frustrating, and a dealbreaker for many people to use cake wallet for Bitcoin while other bitcoin-specific wallets support it.
This feature would be a trigger to move from XMR + BTC app combination (e.g. Monero.com + Blockstream wallet) to just Cake wallet. I love it so much how it is done for Monero. Please add it for Bitcoin too... Or better, add it as an app-wide feature (not sure if it would be possible though...)