element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
GNU Affero General Public License v3.0
1.73k stars 498 forks source link

TOR needs to be integrated in IOS version because TOR is BROKEN with IOS #1085

Open aga3 opened 7 years ago

aga3 commented 7 years ago

Due to IOS limitations, TOR has to be integrated into every app, in order for it to work.

Please integrate into official version, Or someone fork it, with TOR, and upload it to CYDIA etc...

ProofOfKeags commented 3 years ago

We are launching tor based matrix servers on the Embassy platform at start9.com. This would enable the use of the iOS app for our users.

jaredduggan commented 3 years ago

Is it possible to take another look at this? Adding tor to the iOS app will allow users to access clearnet and tor servers. Many users would benefit from this.

ShadowJonathan commented 3 years ago

How exactly would using a TOR VPN app not work here?

Element iOS (afaik) sees any domain name as opaque, so it'll work the same even if you put in an .onion address.

If Element iOS doesn't work with such a VPN app, please make a seperate issue for that, otherwise, I think there is no way a tor proxy will be bundled with the App.


Checking the App store, i can see why this issue exists; there's no proper free 'good to go' Tor app that'll offer device-wide VPN for free or without caveats. But honestly, I don't see this as an issue for Element, but more an issue for a developer to throw a basic app on the app store that'll just do that job with no fuss, unless there's a fundamental reason why that's not possible, i think that Element doesn't have to bundle its own tor proxy.

ProofOfKeags commented 3 years ago

The issue is primarily that there is no such thing as a TOR VPN app for iOS. This is because of the stringent iOS memory/cpu usage of such apps. There is a team somewhere working on it as an open source effort but as of today no such app exists. So yes, if there was a VPN app it would probably just work, but there isn't, and it doesn't seem like there will be one any time soon if ever.

Generally speaking, the mainstream way to integrate tor enabled things in iOS is to ship the tor proxy in the app itself.