[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #28051 [Applications/Tor Browser]: Build Orbot into TBA



#28051: Build Orbot into TBA
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  sysrqb
     Type:  enhancement                          |         Status:
                                                 |  assigned
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, tba-a2,                  |  Actual Points:
  TorBrowserTeam201811                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sysrqb):

 Maybe the easiest solution (short-term) is maintaining a patchset on top
 of a specific Orbot git tag (instead of forking Orbot and maintaining it).
 I'll attach a patch on top of `16.0.3-BETA-2-tor-0.3.4.8`.

 I have a branch `28051` for tor-browser in my repo. It's not ready for
 review yet, but it mostly works.

 The assumption is:
   - Build Orbot using the provided patch
   - Copy the resulting aar file into `mobile/android/app/`
     - If `orbot/` and `tor-browser/` share the same parent directory, then
 you can use this shell script for copying the three .aar files from
 `orbot/` into `mobile/android/app/`
 {{{
 $ for aar in orbotservice/build/outputs/aar/orbotservice-release.aar
 jsocksAndroid/build/outputs/aar/jsocksAndroid-release.aar
 app/build/outputs/aar/Orbot-16.0.3-BETA-2-tor-0.3.4.8-fullperm-
 release.aar; do cp $aar ../tor-browser/mobile/android/app/; done
 }}}

   - or, as multiple lines:
 {{{
 $ for aar in orbotservice/build/outputs/aar/orbotservice-release.aar
 jsocksAndroid/build/outputs/aar/jsocksAndroid-release.aar
 app/build/outputs/aar/Orbot-16.0.3-BETA-2-tor-0.3.4.8-fullperm-release.aar
 do
   cp $aar ../tor-browser/mobile/android/app/
 done
 }}}

 When the app first starts, it immediately opens Orbot and goes through
 Orbot's onboarding screens. At the end, the user is shown Orbot's main
 screen (as usual). If the user presses the phone's back button, then they
 return to TBA. There isn't currently a mechanism for re-opening Orbot
 within TBA. Orbot only opens when the app is restarted, and it is the
 first screen they see.

 Note, tor doesn't start, so this doesn't work yet.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28051#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs