Commit graph

25 commits

Author SHA1 Message Date
f43a69a26f
docs: TLS 1.3 trust model, LNEx v3 and operator guide
Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
2026-10-24 22:05:30 +02:00
0d2af0ddd6
feat(gateway): TLS 1.3 only control plane and LNEx v3 channel-bound handshake
Replace the X25519/HKDF/ChaCha20 TCP layer with rustls TLS 1.3 (ALPN
vnox-lnex/3). Auto-generate a self-signed certificate keyed by the server
identity or load an operator certificate, publish the SPKI fingerprint,
bind HELLO and AUTH signatures to the TLS exporter, reject plaintext, TLS 1.2
and LNEx v2 peers with an explicit error. BREAKING: protocol v3.

Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
2026-10-24 22:05:30 +02:00
a5b9c324f7
fix(hub): repair Cargo.lock so the hub builds with --locked
Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
2026-10-24 21:51:44 +02:00
a2b0f26645
feat(hub): let users upload their own avatar
POST/DELETE /v1/account/avatar (session, exact Origin, CSRF) and public
GET /v1/avatars/<id>. Uploads are sniffed, size and dimension limited,
fully decoded, re-encoded to a 256x256 PNG without metadata and stored in
SQLite, one per account. avatar_url in the session points to it, with the
provider avatar as fallback.

Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
2026-10-24 21:48:05 +02:00
fea876654b
fix(hub): bind email budget reserve to a bounded resend chain
The global reserve is claimed atomically with the budget check by deleting a live
attempt for the same address (under 5 failures, under 3 resends, chain under 30
minutes), so it cannot fund mail to other addresses, branch or race.
2026-10-24 17:48:20 +02:00
6ea14d0ec2
fix(hub): group IPv6 sources by /64 and reserve email budget for resends
Per-source limits no longer dodgeable by rotating IPv6 host bits, and a
separate global reserve lets browsers with a live attempt resend even when
fresh starts exhaust the hourly budget.
2026-10-24 17:45:36 +02:00
cca084b0ae
feat(hub): email one-time-code sign-in
POST /v1/auth/email/start and /verify with HMAC-protected 8-digit codes
(10 min, 5 tries, atomic single use), browser-bound via a __Host- cookie,
same-origin checks, per-address/source/global rate limits and an injectable
sender. Enabled in /v1/info only when SMTP is configured. Email identities
use external_identities(provider='email') and never merge with GitHub.
2026-10-24 17:42:52 +02:00
f1883e5001
docs: refresh status and roadmap for Slint and protocol v2 2026-10-24 16:53:05 +02:00
3e7f5b22dc
feat(server): protocol v2 with signed handshake, secure voice relay, media broadcast and channel authorization
Revoke voice access on channel delete, kick and permission change, and
acknowledge the sender's own chat messages.
2026-10-24 16:51:13 +02:00
bc5157046e
deploy(hub): serve the bilingual website alongside auth API 2026-10-24 15:10:24 +02:00
69d065e3a6
docs(hub): record GitHub deployment verification 2026-10-24 15:05:21 +02:00
ff9c8f330e
feat: add GitHub sign-in and channel webhooks 2026-10-24 15:02:42 +02:00
45e89f9826
docs(hub): record deployment verification and protect local config 2026-10-24 14:23:48 +02:00
a811de590a
feat(hub): add central service foundation and transactional mail 2026-10-24 14:15:48 +02:00
b14f036bdb
fix: harden channel access and refresh server dependencies 2026-10-24 13:57:29 +02:00
84df32a9de
docs: rewrite README with architecture, feature list, badges; fix encryption status; add voice-node relay tests; fix clippy warnings 2026-07-21 17:39:50 +02:00
447d65df1b
feat: presence persistence (save/load/remove), OFFLINE on disconnect, voice-node leave signalling 2026-07-18 22:19:48 +02:00
742cf03a5f
Phase 2: PostgreSQL, E2EE, channel CRUD, voice signaling, Slint migration
Server:
- PostgreSQL backend (Pool enum over Sqlite/PgPool, all storage methods dual-dialect)
- E2EE for DM (4 new protobuf packets, handlers, storage of ciphertext only)
- ChannelEdit packet + server-authoritative channel create/delete
- Gateway → voice-node membership signaling via broadcast channel

Client:
- E2EE crypto (X25519 from Ed25519, HKDF, ChaCha20-Poly1305) + UI lock icons
- E2EE net layer (PID 0x0071-0x0074, JSON payloads, dispatch, session handlers)
- Slint migration: all .slint files, bridge.rs, update.rs, main.rs rewritten
- Removed egui UI (~50 files) and all dead code (clean clippy -D warnings)
2026-07-14 13:25:14 +02:00
c34ed2a192
cargo fmt + clippy fixes, remove unused voice_membership.rs 2026-07-09 13:07:38 +02:00
9821814240
protobuf migration: replace JSON with prost-generated wire format
- Expanded protocol/lnex.proto with full message set for all packet types
- Added prost + prost-build to gateway build pipeline
- Refactored all handlers and framing to use prost encode/decode
- Removed serde payload structs (now generated from .proto)
- Server starts and admin endpoint responds
2026-07-09 13:04:22 +02:00
5534cd01f7
TLS 1.3, channel persistence, membership signaling
- TLS 1.3 on TCP (rustls + tokio-rustls, optional self-signed cert)
- Server-side channel CRUD with SQLite persistence
- Gateway → voice-node membership bridge via broadcast channel
2026-07-09 12:48:18 +02:00
523680e05d
fix dev/ directory nesting 2026-07-09 12:33:17 +02:00
f262da222b
add docs, protocol, plugins, README, CHANGELOG 2026-07-09 12:30:55 +02:00
1d2209bfac
add GPL-3.0 license 2026-07-09 12:05:04 +02:00
e751e0bf5b Initial commit: split VNOX monorepo into VNOX-Server
Unified server binary (vnox-serverd) combining:
- Gateway (TCP, auth, channels, sessions, SQLite)
- Voice-node (UDP relay, Opus, jitter buffer)

Standalone gateway (vnox-gateway) and voice-node (vnox-voice-node) preserved as sub-crates.
2026-07-09 11:52:56 +02:00