[tbb-bugs] #28329 [Applications/Tor Browser]: Design TBA+Orbot configuration UI/UX
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 9 00:35:39 UTC 2019
#28329: Design TBA+Orbot configuration UI/UX
-------------------------------------------------+-------------------------
Reporter: sysrqb | Owner: tbb-
| team
Type: enhancement | Status:
| needs_revision
Priority: Very High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-mobile, ux-team, TBA-a3, | Actual Points:
tbb-8.5-must-alpha, TorBrowserTeam201904 |
Parent ID: | Points:
Reviewer: | Sponsor:
| Sponsor8
-------------------------------------------------+-------------------------
Comment (by sysrqb):
Suprisingly, #29757 may be needed for supporting API level 16. More recent
versions of Android do not throw this SecurityException (they simply log
an error and continue), but Orbot fails during its startup process as a
result of this exception being thrown, so the app won't bootstrap.
{{{
E/Orbot ( 1935): error onBind
E/Orbot ( 1935): java.lang.SecurityException: Permission Denial: opening
provider
org.torproject.torbrowser.ui.hiddenservices.providers.HSContentProvider
from ProcessRecord{a76ef718 1935:org.torproject.torbrowser_alpha/u0a45}
(pid=1935, uid=10045) that is not exported from uid 10044
E/Orbot ( 1935): at
android.os.Parcel.readException(Parcel.java:1425)
E/Orbot ( 1935): at
android.os.Parcel.readException(Parcel.java:1379)
E/Orbot ( 1935): at
android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:2354)
E/Orbot ( 1935): at
android.app.ActivityThread.acquireProvider(ActivityThread.java:4219)
E/Orbot ( 1935): at
android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:1703)
E/Orbot ( 1935): at
android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1099)
E/Orbot ( 1935): at
android.content.ContentResolver.query(ContentResolver.java:354)
E/Orbot ( 1935): at
android.content.ContentResolver.query(ContentResolver.java:313)
E/Orbot ( 1935): at
org.torproject.android.service.TorService.processSettingsImpl(TorService.java:1659)
E/Orbot ( 1935): at
org.torproject.android.service.TorService.updateTorConfigFile(TorService.java:703)
E/Orbot ( 1935): at
org.torproject.android.service.TorService.torUpgradeAndConfig(TorService.java:625)
E/Orbot ( 1935): at
org.torproject.android.service.TorService.access$800(TorService.java:94)
E/Orbot ( 1935): at
org.torproject.android.service.TorService$2.run(TorService.java:571)
E/Orbot ( 1935): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 1409): Permission denied: checkComponentPermission()
owningUid=10044
W/ActivityManager( 1409): Permission denied: checkComponentPermission()
owningUid=10044
W/ActivityManager( 1409): Permission Denial: opening provider
org.torproject.torbrowser.ui.hiddenservices.providers.HSContentProvider
from ProcessRecord{a76ef718 1935:org.torproject.torbrowser_alpha/u0a45}
(pid=1935, uid=10045) that is not exported from uid 10044
}}}
For example, API level 19 simply logs:
{{{
E/ActivityThread( 3446): Failed to find provider info for
org.torproject.torbrowser.ui.hiddenservices.providers
E/ActivityThread( 3446): Failed to find provider info for
org.torproject.torbrowser.ui.hiddenservices.providers.cookie
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28329#comment:84>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list