2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00
2026-11-16 20:49:40 +02:00

EE2E Phone Calls

Self-hosted, username-based Android-to-Android encrypted voice calling project.

Status: development scaffold / Milestone M0-M1. This is not a working secure calling product. Cryptographic handshake, SFrame media transforms, WebRTC integration, push delivery and production hardening are intentionally not implemented yet.

Architecture baseline

  • Android: Kotlin, Jetpack Compose, Android Keystore, Core-Telecom
  • Backend: Go HTTP API and WebSocket signaling
  • Database: PostgreSQL
  • Media: WebRTC + Opus + SFrame (endpoint-to-endpoint)
  • Key agreement: audited PQXDH implementation with a compatible ML-KEM suite; do not invent a hybrid protocol
  • Relay: coturn
  • Deployment: self-hosted Docker Compose

Quick start (development)

  1. Copy .env.example to .env and change all secrets.
  2. Start infrastructure: docker compose --env-file .env -f infrastructure/compose/docker-compose.yml up --build -d
  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.

Repository layout

  • backend/: Go services
  • android/: native Android starter project
  • docs/: architecture, threat model, protocols and milestones
  • infrastructure/: Docker Compose, coturn and database initialization
  • tests/: planned integration and security test plans

Development commands

cd backend
 go test ./...
 go run ./cmd/api

Android build (requires Android Studio / Android SDK and a locally installed Gradle):

cd android
 gradle assembleDebug

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.
  3. Keep signaling and media encryption separate; TLS/DTLS-SRTP alone is not the project's E2EE guarantee.
  4. Do not implement cryptographic primitives or a custom PQXDH variant.
  5. Treat all cryptographic integrations as blocked until library selection, interoperability tests and review are complete.

See docs/ before implementing protocol or production deployment work.

S
Description
No description provided
Readme
126 KiB
Languages
Go 80.3%
Kotlin 18.4%
Dockerfile 1%
Makefile 0.3%