tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.49k stars 389 forks source link

Support Tor onion service instances #495

Open PacoBell opened 6 years ago

PacoBell commented 6 years ago

I can successfully register an account on a Mastadon onion server and even use federation, but the Tusky client refuses to log into that server, even after I set it up with VPN mode in Orbot. Ideally, Tusky would be Orbot-aware and not need to rely on VPN mode.

connyduck commented 6 years ago

The next Tusky release will have the possibility to set a http proxy, is this not enough for Mastodon onion servers? It definitely works with orbot and normal instances. Can you give me an example for a onion server? Any links on how to implement "orbot-aware"?

PacoBell commented 6 years ago

Perhaps Tusky could speak socks4a over port 9050? If you'd like to try a few Mastodon onions, you can try registering with these:

http://izeljfc5nxetw7dm.onion http://nq5jmc5rsyo4fiph.onion http://xmstdn2w5vvvd747.onion

faissaloo commented 6 years ago

NetCipher comes with Orlib which lets you check if Orbot is installed, running and lets you start it as needed.

HostFat commented 5 years ago

After the new laws from EU, I think that this is becoming more important.

dr-bonez commented 3 years ago

I think the issue is http vs https. If we can simply use http instead of https for .onions, Orbot VPN mode should work. I tried to hop in and make the change myself but I'm not a Java/Kotlin guy, and I have no idea how MastodonApi is getting instantiated.

ChuckNorrison commented 3 years ago

I would appreciate this feature a lot. Mastodon on onion routing is increasing 👌

Http proxy possibility should work. Orbot is on port 8118 for http available or socks 9050