feat(client): TLS 1.3 control connection with SPKI pinning and LNEx v3

Replace the custom X25519/HKDF/ChaCha20 TCP layer with rustls (TLS 1.3 only,
ALPN vnox-lnex/3, no plaintext or fallback). Add a trust store (pin, trust on
first use, public CA), block changed fingerprints and identities, bind the
Ed25519 auth signature to the TLS exporter, add RU/EN trust dialog and
update the interop test and e2e voice tool.

Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
This commit is contained in:
Loki 2026-10-24 22:05:19 +02:00
parent 5f594046a6
commit 9a20ace6e6
Signed by: boba
GPG key ID: 253067914055423B
31 changed files with 2085 additions and 567 deletions

View file

@ -62,6 +62,11 @@ nnnoiseless = { version = "0.5.2", default-features = false, optional = t
image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp"] }
rfd = { version = "0.17.2", default-features = false, features = ["xdg-portal", "wayland"] }
[dev-dependencies]
# Test gateway certificates, and a TLS 1.2 only server for the downgrade test.
rcgen = "0.14"
rustls = { version = "0.23", features = ["tls12"] }
[features]
default = ["screen-capture"]
rnnoise = ["dep:nnnoiseless"]