Android: native privacy-first app foundation - #4
Draft
21Koblenz wants to merge 13 commits into
Draft
Conversation
Owner
Author
|
Foundation status update:
The PR intentionally remains draft: the native Tor/routing/Keystore foundation now compiles and is installable, but the full Home Assistant feature set (ledger/FIFO, portfolio, charts, market assessment, Sats Sentinel, imports, background monitoring and the Android OS-level egress/leak guard) still has to be ported before this should be treated as a production Android release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Starts a native Android port of Bitcoin Stack Tracker without touching the existing Home Assistant integration.
Included in this first foundation
android/tor-android 0.4.9.11)android/README.mdNetwork contract
The intended rule remains the same as the Home Assistant tracker:
Public non-onion traffic additionally requires HTTPS. The routed client fixes the SOCKS proxy explicitly and does not use the system proxy selector for public traffic.
Important security boundary
The Home Assistant Tor Gateway can enforce egress with nftables. A normal Android APK does not automatically have an equivalent kernel firewall. This PR therefore establishes a single audited application routing layer first. Before a production Android release claims a full OS-level killswitch equivalent, the Android egress/leak guard (likely a dedicated
VpnServicedesign) must be implemented and leak-tested.Next migration blocks
This PR is intentionally a draft until the Android build workflow is green and the first egress tests are in place.