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

+30
View File
@@ -4899,3 +4899,33 @@
margin: 0;
font-size: 0.9em;
}
/* Options -> Konto */
.ts-sync-secret {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.ts-sync-secret code {
font-size: 1.1em;
letter-spacing: 0.05em;
user-select: all;
}
.ts-sync-buttons {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-top: 6px;
}
.ts-sync-warning {
color: var(--ts-warning, #e0a030);
}
.ts-sync-qr-box {
margin-top: 8px;
}
.ts-sync-qr {
display: block;
max-width: 100%;
height: auto;
}