Add account device API and APK build versioning

This commit is contained in:
2026-11-17 21:15:39 +02:00
parent 9a10f639cc
commit a11ccf15c5
11 changed files with 901 additions and 17 deletions
+5 -2
View File
@@ -2,7 +2,7 @@
Self-hosted, username-based Android-to-Android encrypted voice calling project.
**Status:** development scaffold. M1 local Go/Docker infrastructure has been verified; M0 feasibility and the M3 Android foundation remain in progress. This is not a working secure calling product. The cryptographic handshake, SFrame media transforms, WebRTC integration, push delivery and production hardening are not implemented.
**Status:** development scaffold. M1 local Go/Docker infrastructure is verified, and the M2 account/device API flow passes a local smoke check. M0 feasibility and M3 Android verification remain open. This is not a working secure calling product. The cryptographic handshake, SFrame media transforms, WebRTC integration, push delivery and production hardening are not implemented.
## Architecture baseline
- Android: Kotlin, Jetpack Compose, Android Keystore, Core-Telecom
@@ -20,7 +20,7 @@ Self-hosted, username-based Android-to-Android encrypted voice calling project.
3. Check API health: `curl http://localhost:8080/healthz`
4. Check signaling health: `curl http://localhost:8081/healthz`
The API currently provides only health and a placeholder registration endpoint. Signaling currently accepts WebSocket connections but does not yet implement authenticated call routing. Do not expose this scaffold to the public Internet.
The API has development account/session endpoints and a provisional P-256 public device directory. Signaling does not yet implement authenticated call routing. Do not expose this scaffold to the public Internet.
## Repository layout
- `backend/`: Go services
@@ -42,8 +42,11 @@ Android build (requires Android Studio / Android SDK and a locally installed Gra
```bash
cd android
gradle assembleDebug
gradle archiveDebugApk
```
`archiveDebugApk` writes a build-identified copy to `android/app/build/outputs/versioned-apk/`. See [Android build versioning](docs/ANDROID-BUILDS.md) for CI and release overrides.
## Security rules
1. Never send private keys, shared secrets or plaintext audio to the backend.
2. Do not mark a call secure until peer identity and media encryption are authenticated.