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:
parent
5f594046a6
commit
9a20ace6e6
31 changed files with 2085 additions and 567 deletions
|
|
@ -214,9 +214,15 @@ msgstr "Export keys"
|
|||
msgid "Extra dark"
|
||||
msgstr "Extra dark"
|
||||
|
||||
msgid "Fingerprint (SHA-256)"
|
||||
msgstr "Fingerprint (SHA-256)"
|
||||
|
||||
msgid "For example: /home/user/themes/my-vnox.css"
|
||||
msgstr "For example: /home/user/themes/my-vnox.css"
|
||||
|
||||
msgid "Forget this server"
|
||||
msgstr "Forget this server"
|
||||
|
||||
msgid "Friends"
|
||||
msgstr "Friends"
|
||||
|
||||
|
|
@ -409,6 +415,9 @@ msgstr "Preview active · not broadcasting"
|
|||
msgid "Preview stays local until you start broadcasting. Only members of your voice channel can watch."
|
||||
msgstr "Preview stays local until you start broadcasting. Only members of your voice channel can watch."
|
||||
|
||||
msgid "Previously trusted fingerprint"
|
||||
msgstr "Previously trusted fingerprint"
|
||||
|
||||
msgid "Profile and keys"
|
||||
msgstr "Profile and keys"
|
||||
|
||||
|
|
@ -424,6 +433,9 @@ msgstr "Push to talk"
|
|||
msgid "Receive updates here, or send signed channel events to your own service."
|
||||
msgstr "Receive updates here, or send signed channel events to your own service."
|
||||
|
||||
msgid "Received fingerprint"
|
||||
msgstr "Received fingerprint"
|
||||
|
||||
msgid "Reconnect automatically"
|
||||
msgstr "Reconnect automatically"
|
||||
|
||||
|
|
@ -496,6 +508,12 @@ msgstr "Send"
|
|||
msgid "Server address"
|
||||
msgstr "Server address"
|
||||
|
||||
msgid "Server fingerprint changed"
|
||||
msgstr "Server fingerprint changed"
|
||||
|
||||
msgid "Server identity changed"
|
||||
msgstr "Server identity changed"
|
||||
|
||||
msgid "Settings"
|
||||
msgstr "Settings"
|
||||
|
||||
|
|
@ -541,9 +559,15 @@ msgstr "Text size"
|
|||
msgid "The backup passphrase is optional. Without it, your backup contains an unprotected secret key."
|
||||
msgstr "The backup passphrase is optional. Without it, your backup contains an unprotected secret key."
|
||||
|
||||
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 "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."
|
||||
|
||||
msgid "The old secret stops working. Update the external integration with the new secret."
|
||||
msgstr "The old secret stops working. Update the external integration with the new secret."
|
||||
|
||||
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 "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."
|
||||
|
||||
msgid "Theme editor"
|
||||
msgstr "Theme editor"
|
||||
|
||||
|
|
@ -556,6 +580,15 @@ msgstr "Themes, colours and text"
|
|||
msgid "This cannot be undone."
|
||||
msgstr "This cannot be undone."
|
||||
|
||||
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 "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."
|
||||
|
||||
msgid "Trust and connect"
|
||||
msgstr "Trust and connect"
|
||||
|
||||
msgid "Trust this server?"
|
||||
msgstr "Trust this server?"
|
||||
|
||||
msgid "Undeafen"
|
||||
msgstr "Undeafen"
|
||||
|
||||
|
|
|
|||
|
|
@ -351,5 +351,18 @@
|
|||
"Starting broadcast…": "Запуск трансляции…",
|
||||
"WebRTC connection timed out": "Время ожидания соединения WebRTC истекло",
|
||||
"Broadcast authorization timed out": "Время ожидания разрешения на трансляцию истекло",
|
||||
"Broadcast connection timed out": "Время ожидания подключения к трансляции истекло"
|
||||
"Broadcast connection timed out": "Время ожидания подключения к трансляции истекло",
|
||||
"Trust this server?": "Доверять этому серверу?",
|
||||
"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.": "Это первое подключение к этому серверу. Его сертификат выдан не публичным центром сертификации, поэтому Vnox не может проверить его автоматически. Сравни отпечаток с тем, что опубликовал владелец сервера, и доверяй, только если они совпадают.",
|
||||
"Server fingerprint changed": "Отпечаток сервера изменился",
|
||||
"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.": "Сертификат этого сервера отличается от того, которому ты доверял раньше. Это может быть атакой на соединение, или владелец переустановил сервер. Соединение заблокировано, ничего не отправлено. Спроси у владельца, ожидаемо ли это изменение.",
|
||||
"Server identity changed": "Ключ сервера изменился",
|
||||
"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.": "Сервер подтвердил другой ключ, чем тот, которому ты доверял раньше. Соединение заблокировано, ничего не отправлено. Спроси у владельца, ожидаемо ли это изменение.",
|
||||
"Previously trusted fingerprint": "Ранее доверенный отпечаток",
|
||||
"Fingerprint (SHA-256)": "Отпечаток (SHA-256)",
|
||||
"Received fingerprint": "Полученный отпечаток",
|
||||
"Forget this server": "Забыть этот сервер",
|
||||
"Trust and connect": "Доверять и подключиться",
|
||||
"Could not save the trusted fingerprint": "Не удалось сохранить доверенный отпечаток",
|
||||
"Server forgotten. Connect again to review its fingerprint.": "Сервер забыт. Подключись снова, чтобы проверить его отпечаток."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 "Включить звук"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue