tor-android
tor-android copied to clipboard
Tor binary and library for Android
Fix some changed zstd 1.5.0 include paths and openssl not found error during configuration of libevent 2.1.12.
Use latest stable zlib 1.2.12 from https://github.com/madler/zlib
Testing with an ancient Samsung Galaxy S (!), I saw nullpointer exceptions, when [attempting to obtain the filedescriptor of the control socket](https://github.com/guardianproject/tor-android/blob/c43cea7492903d3b8fd9544a77f650e642bbe6ae/tor-android-binary/src/main/java/org/torproject/jni/TorService.java#L293) ``` FileDescriptor controlSocketFd = prepareFileDescriptor(getControlSocket(TorService.this).getAbsolutePath()); ``` I haven't...
I just had an idea that I think will cover this issue, be relatively easy to implement, and replace this pull request: * accept setEvents() calls any time * if...
This doesn't break Orbot, and I think most integrating apps are merely concerned with starting Orbot + knowing it's running. But if you send an `ACTION_STOP` to `TorService` with tor-android...
This makes the life of users of this library easier, because their app won't crash when using proguard. > By embedding a ProGuard file in your library module, you ensure...
This happens after multiple starts/stops 2022-01-25 21:15:51.202 21865-21865/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2022-01-25 21:15:51.202 21865-21865/? A/DEBUG: Build...
Android gives "foreground" priority to the activity that is currently visible. Things that are at the foreground priority are the last to be killed. With `Service` instances, it is possible...
While how to stop `TorService` is not documented, one usually stops a bound service simply by [unbinding from it](https://developer.android.com/guide/components/services#Lifecycle). This works fine the first time. But if I need to...
The last thing breaking reproducible builds for the entire set of artifacts that are uploaded to Maven Central are timestamps in: * Javadoc HTML header * Javadoc search index JAR...