mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 09:52:50 +08:00
Account sync: Mullvad-style, end-to-end encrypted
Options -> Konto: random 16-digit account number, optional random password, no personal data. The browser derives account id, AES key and auth secret, so the new standalone sync server (node dist/sync-server.js, SYNC_DATA_DIR) only stores padded encrypted blobs. Proof-of-work on account creation, 1 year expiry, no IP logging. Pulled at startup, pushed when synced keys change, conflict prompt when both sides changed. QR link, recovery file, per-category selection; device-specific keys stay local. Self-hosters can run their own and set SYNC_URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
a82c99972e
commit
0a9dd545b1
16 files changed
+1559
-11
No files matched your search
@@ -228,6 +228,7 @@
|
||||
"options.cancel": "取消",
|
||||
"options.notImplemented": "此设置尚未实现。",
|
||||
"options.section.anwendung": "应用",
|
||||
"options.section.konto": "账户",
|
||||
"options.section.wiedergabe": "播放",
|
||||
"options.section.aufnahme": "录音",
|
||||
"options.section.design": "外观",
|
||||
@@ -929,5 +930,68 @@
|
||||
"securitySettings.masterNew": "新主密码",
|
||||
"securitySettings.masterRepeat": "重复",
|
||||
"securitySettings.masterMismatch": "两次密码不一致。",
|
||||
"securitySettings.masterNote": "请牢记:没有它,身份和已保存的密码将丢失。"
|
||||
"securitySettings.masterNote": "请牢记:没有它,身份和已保存的密码将丢失。",
|
||||
"sync.subtitle": "在所有设备上使用你的数据",
|
||||
"sync.intro": "账户只是一个随机号码,可选附加密码。无需邮箱,无需姓名。所有数据在上传前都会在你的设备上加密,服务器只能看到无法读取的数据。",
|
||||
"sync.create.title": "新账户",
|
||||
"sync.create.withPassword": "同时生成随机密码(推荐)",
|
||||
"sync.create.withPasswordHint": "没有密码时,仅凭账户号码就能访问你的数据。",
|
||||
"sync.create.button": "创建账户",
|
||||
"sync.create.busy": "正在创建账户 …",
|
||||
"sync.login.title": "已有账户",
|
||||
"sync.number": "账户号码",
|
||||
"sync.password": "密码",
|
||||
"sync.passwordOptional": "密码(如有)",
|
||||
"sync.login.hint": "之后账户中的数据将替换此设备上的数据。",
|
||||
"sync.login.button": "登录",
|
||||
"sync.server": "同步服务器",
|
||||
"sync.serverHint": "账户只存在于创建它的服务器上。",
|
||||
"sync.account.title": "你的账户",
|
||||
"sync.copy": "复制",
|
||||
"sync.copied": "已复制",
|
||||
"sync.show": "显示",
|
||||
"sync.hide": "隐藏",
|
||||
"sync.noPassword": "无密码",
|
||||
"sync.keepSafe": "请妥善保管号码和密码。一旦丢失,任何人都无法恢复你的数据,包括我们。",
|
||||
"sync.recoveryFile": "下载恢复文件",
|
||||
"sync.qr.show": "显示二维码",
|
||||
"sync.qr.hide": "隐藏二维码",
|
||||
"sync.qr.hint": "用另一台设备扫描即可在那里登录。看到此二维码的人都能访问你的账户。",
|
||||
"sync.password.add": "添加密码",
|
||||
"sync.password.remove": "移除密码",
|
||||
"sync.password.addConfirm": "生成新的随机密码?其他设备之后需要用号码和密码重新登录。",
|
||||
"sync.password.removeConfirm": "移除密码?之后仅凭账户号码即可访问。其他设备需要重新登录。",
|
||||
"sync.categories": "同步内容",
|
||||
"sync.category.identities": "身份(包括私钥)",
|
||||
"sync.category.favorites": "收藏、频道密码和联系人",
|
||||
"sync.category.settings": "设置",
|
||||
"sync.category.designs": "主题和图标包",
|
||||
"sync.category.whisper": "悄悄话列表",
|
||||
"sync.categoriesHint": "音频设备、音量、按键通话键和聊天记录始终保留在本设备上。",
|
||||
"sync.status": "状态",
|
||||
"sync.status.syncing": "正在同步 …",
|
||||
"sync.status.last": "上次同步:{time}",
|
||||
"sync.status.never": "尚未同步",
|
||||
"sync.conflict.title": "同步",
|
||||
"sync.conflict.text": "自上次同步以来,此设备和账户都有更改。以哪个为准?",
|
||||
"sync.conflict.local": "上传此设备的数据",
|
||||
"sync.conflict.server": "加载账户中的数据",
|
||||
"sync.syncNow": "立即同步",
|
||||
"sync.serverInfo": "服务器:{server}",
|
||||
"sync.logout": "退出登录",
|
||||
"sync.logoutConfirm": "将此设备退出账户?账户及其数据会保留。",
|
||||
"sync.delete": "删除账户",
|
||||
"sync.deleteConfirm": "永久删除服务器上的账户及其所有数据?此设备上的数据会保留。",
|
||||
"sync.link.title": "连接账户",
|
||||
"sync.link.prompt": "将此设备连接到账户 {number}?账户中的数据将替换此设备上的数据。",
|
||||
"sync.link.connect": "连接",
|
||||
"sync.error.password_required": "此账户设有密码。",
|
||||
"sync.error.unreachable": "无法连接同步服务器。",
|
||||
"sync.error.not_found": "账户不存在或密码错误。如果密码已在其他设备上更改,请重新登录。",
|
||||
"sync.error.rate_limited": "请求过多,请稍后再试。",
|
||||
"sync.error.full": "同步服务器暂不接受新账户。",
|
||||
"sync.error.pow_required": "安全检查失败,请重试。",
|
||||
"sync.error.conflict": "另一台设备在此期间做了更改。",
|
||||
"sync.error.payload_too_large": "同步数据过多(最多 1 MB)。",
|
||||
"sync.error.generic": "同步失败。"
|
||||
}
|
||||
Reference in new issue
Block a user