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.
This commit is contained in:
Loki 2026-10-24 22:05:19 +02:00
parent 5f594046a6
commit 29883a3187
31 changed files with 2085 additions and 567 deletions

View file

@ -215,9 +215,15 @@ msgstr "Экспортировать ключи"
msgid "Extra dark"
msgstr "Мега-тёмная"
msgid "Fingerprint (SHA-256)"
msgstr "Отпечаток (SHA-256)"
msgid "For example: /home/user/themes/my-vnox.css"
msgstr "Например: /home/user/themes/my-vnox.css"
msgid "Forget this server"
msgstr "Забыть этот сервер"
msgid "Friends"
msgstr "Друзья"
@ -410,6 +416,9 @@ msgstr "Предпросмотр активен · без трансляции"
msgid "Preview stays local until you start broadcasting. Only members of your voice channel can watch."
msgstr "Предпросмотр остаётся локальным, пока ты не начнёшь трансляцию. Смотреть её могут только участники твоей голосовой комнаты."
msgid "Previously trusted fingerprint"
msgstr "Ранее доверенный отпечаток"
msgid "Profile and keys"
msgstr "Профиль и ключи"
@ -425,6 +434,9 @@ msgstr "Нажми и говори"
msgid "Receive updates here, or send signed channel events to your own service."
msgstr "Получайте обновления в этом канале или отправляйте подписанные события в свой сервис."
msgid "Received fingerprint"
msgstr "Полученный отпечаток"
msgid "Reconnect automatically"
msgstr "Переподключаться при потере связи"
@ -497,6 +509,12 @@ msgstr "Отправить"
msgid "Server address"
msgstr "Адрес сервера"
msgid "Server fingerprint changed"
msgstr "Отпечаток сервера изменился"
msgid "Server identity changed"
msgstr "Ключ сервера изменился"
msgid "Settings"
msgstr "Настройки"
@ -542,9 +560,15 @@ msgstr "Размер текста"
msgid "The backup passphrase is optional. Without it, your backup contains an unprotected secret key."
msgstr "Пароль резервной копии можно оставить пустым. Такая копия содержит секретный ключ без защиты."
msgid "The certificate of this server is different from the one you trusted before. This can mean an attack on your connection, or the owner reinstalled the server. The connection was blocked and nothing was sent. Ask the owner whether the change is expected."
msgstr "Сертификат этого сервера отличается от того, которому ты доверял раньше. Это может быть атакой на соединение, или владелец переустановил сервер. Соединение заблокировано, ничего не отправлено. Спроси у владельца, ожидаемо ли это изменение."
msgid "The old secret stops working. Update the external integration with the new secret."
msgstr "Старый секрет перестанет работать. Укажите новый секрет во внешней интеграции."
msgid "The server proved a different identity key than the one you trusted before. The connection was blocked and nothing was sent. Ask the owner whether the change is expected."
msgstr "Сервер подтвердил другой ключ, чем тот, которому ты доверял раньше. Соединение заблокировано, ничего не отправлено. Спроси у владельца, ожидаемо ли это изменение."
msgid "Theme editor"
msgstr "Редактор темы"
@ -557,6 +581,15 @@ msgstr "Темы, цвета и текст"
msgid "This cannot be undone."
msgstr "Это действие нельзя отменить."
msgid "This is the first connection to this server. Its certificate is not issued by a public authority, so Vnox cannot verify it automatically. Compare the fingerprint with the one published by the server owner and trust it only if they match."
msgstr "Это первое подключение к этому серверу. Его сертификат выдан не публичным центром сертификации, поэтому Vnox не может проверить его автоматически. Сравни отпечаток с тем, что опубликовал владелец сервера, и доверяй, только если они совпадают."
msgid "Trust and connect"
msgstr "Доверять и подключиться"
msgid "Trust this server?"
msgstr "Доверять этому серверу?"
msgid "Undeafen"
msgstr "Включить звук"