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:
MoepchiandClaude Opus 5.5 committed 2026-10-24 07:40:00 +00:00
1 parent a82c99972e
commit 0a9dd545b1
16 files changed
+1559 -11

No files matched your search

+65 -1
View File
@@ -289,6 +289,7 @@
"options.cancel": "Cancel",
"options.notImplemented": "This setting isn't implemented yet.",
"options.section.anwendung": "Application",
"options.section.konto": "Account",
"options.section.wiedergabe": "Playback",
"options.section.aufnahme": "Capture",
"options.section.design": "Appearance",
@@ -930,5 +931,68 @@
"securitySettings.masterNew": "New master password",
"securitySettings.masterRepeat": "Repeat",
"securitySettings.masterMismatch": "The passwords don't match.",
"securitySettings.masterNote": "Remember it well: without it, identities and saved passwords are lost."
"securitySettings.masterNote": "Remember it well: without it, identities and saved passwords are lost.",
"sync.subtitle": "Your data on all your devices",
"sync.intro": "An account is just a random number, optionally with a password. No email, no name. Everything is encrypted on your device before it is uploaded. The server only sees unreadable data.",
"sync.create.title": "New account",
"sync.create.withPassword": "Also generate a random password (recommended)",
"sync.create.withPasswordHint": "Without a password, the account number alone gives access to your data.",
"sync.create.button": "Create account",
"sync.create.busy": "Creating account …",
"sync.login.title": "Existing account",
"sync.number": "Account number",
"sync.password": "Password",
"sync.passwordOptional": "Password (if any)",
"sync.login.hint": "The account's data then replaces the data on this device.",
"sync.login.button": "Log in",
"sync.server": "Sync server",
"sync.serverHint": "An account only exists on the server it was created on.",
"sync.account.title": "Your account",
"sync.copy": "Copy",
"sync.copied": "Copied",
"sync.show": "Show",
"sync.hide": "Hide",
"sync.noPassword": "No password",
"sync.keepSafe": "Keep the number and password safe. If you lose them, nobody can recover your data, not even us.",
"sync.recoveryFile": "Download recovery file",
"sync.qr.show": "Show QR code",
"sync.qr.hide": "Hide QR code",
"sync.qr.hint": "Scan it with the other device to log in there. Anyone who sees this code can access your account.",
"sync.password.add": "Add password",
"sync.password.remove": "Remove password",
"sync.password.addConfirm": "Generate a new random password? Other devices will have to log in again with number and password.",
"sync.password.removeConfirm": "Remove the password? The account number alone will then be enough. Other devices will have to log in again.",
"sync.categories": "Sync",
"sync.category.identities": "Identities (including private keys)",
"sync.category.favorites": "Favorites, channel passwords and contacts",
"sync.category.settings": "Settings",
"sync.category.designs": "Designs and icon packs",
"sync.category.whisper": "Whisper lists",
"sync.categoriesHint": "Audio devices, volumes, PTT key and chat logs always stay on the device.",
"sync.status": "Status",
"sync.status.syncing": "Syncing …",
"sync.status.last": "Last synced: {time}",
"sync.status.never": "Not synced yet",
"sync.conflict.title": "Sync",
"sync.conflict.text": "Both this device and the account changed since the last sync. Which one should win?",
"sync.conflict.local": "Upload this device's data",
"sync.conflict.server": "Load the account's data",
"sync.syncNow": "Sync now",
"sync.serverInfo": "Server: {server}",
"sync.logout": "Log out",
"sync.logoutConfirm": "Log this device out of the account? The account and its data are kept.",
"sync.delete": "Delete account",
"sync.deleteConfirm": "Permanently delete the account and all its data on the server? The data on this device stays.",
"sync.link.title": "Connect to account",
"sync.link.prompt": "Connect this device to account {number}? The account's data replaces the data on this device.",
"sync.link.connect": "Connect",
"sync.error.password_required": "This account has a password.",
"sync.error.unreachable": "Sync server not reachable.",
"sync.error.not_found": "Account not found or wrong password. If the password was changed on another device, log in again.",
"sync.error.rate_limited": "Too many requests, please try again later.",
"sync.error.full": "The sync server isn't accepting new accounts right now.",
"sync.error.pow_required": "Security check failed, please try again.",
"sync.error.conflict": "Another device changed something in the meantime.",
"sync.error.payload_too_large": "Too much data to sync (max. 1 MB).",
"sync.error.generic": "Sync failed."
}