[tbb-dev] Orfox: Porting TorButton to Android

Amogh Pradeep amoghbl1 at gmail.com
Mon Jul 20 17:12:08 UTC 2015

> On Jul 20, 2015, at 12:15 PM, Georg Koppen <gk at torproject.org> wrote:
> Nathan Freitas:
>> Amogh and I are trying to figure out the shortest path to getting
>> TorButton ported to Android, such that we can have the essential privacy
>> features without having to say, port all the XUl/user interface
>> components.
>> Our plan is to remove all XUL components (for now) since those would
>> need to be written for the mobile specific XUL on Android, and they seem
>> to be helpful but not absolutely required.
> I don't think this is true. "New Identity" comes to mind which does not
> work if you just remove all XUL related things. Window resizing/Screen
> size spoofing is another feature. And there are probably a bunch of
> others as well.

The “New Identity” feature can be replaced for mobile, since Orbot handles all the tor connections, I think it would be possible to add this functionality through NetCipher’s OrbotHelper class[0].

>>> From there, hopefully all the code here:
>> https://gitweb.torproject.org/torbutton.git/tree/src/components
>> should work in the mobile context. However, there could be problems
>> based on not all of the JS/DOM API being the same. Since we also don't
>> run our own instance of Tor within Orfox, none of the control port
>> specific JS is relevant.
>> If anyone on this list can help us prioritize the JS components to
>> required vs nice to have, that would be helpful.
> See the "Bug 1506 PX" comments where the "X" is in the range of 0-5 (0 =
> low prio, 5 = high prio) which got included a while a ago. This is,
> however, missing the latest Torbutton improvements. But it might be a
> good start and we could use the momentum to categorize the newer code
> accordingly as well.

Much of the extra control port JS could be modified to talk to the Java layer which communicates with Orbot which in turn handles these connections. This is a lot of work though, might be a good idea but.

[0] https://github.com/guardianproject/NetCipher/blob/master/libnetcipher/src/info/guardianproject/netcipher/proxy/OrbotHelper.java <https://github.com/guardianproject/NetCipher/blob/master/libnetcipher/src/info/guardianproject/netcipher/proxy/OrbotHelper.java>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-dev/attachments/20150720/a705c685/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.torproject.org/pipermail/tbb-dev/attachments/20150720/a705c685/attachment.sig>

More information about the tbb-dev mailing list