Portable Ledger & Encrypted COS Sync
Storage Modes
- Portable Mode: Enabled automatically when
keepwise.dborkeepwise.portablesits beside the executable, or whenKEEPWISE_PORTABLE=1. Reads/writes localkeepwise.dband.keepwise-sync/. - Standard Mode: Stores the ledger at
app_local_data_dir/ledger/keepwise.dband sync configuration atapp_config_dir/sync/.
Security & Privacy
- Strict CSP enforced across the Tauri webview.
- All ledger analytics and cryptography execute locally in Rust, paired with a global one-click privacy mask.
Encrypted COS Sync
Powered by shared crate keep-sync-cos:
- Zero-Knowledge Encryption:
Argon2id(keepwise-sync-key::{workspace_id}) +XChaCha20-Poly1305+BLAKE3. - Channel Isolation: Dedicated
keepwise-sync/{workspace_id}prefix andkwsync2_share codes (compatible withkwsync1_). - Conflict Merge & Lock Self-Healing: Concurrent edits automatically create conflict backups and merge SQLite records; in-process sync locks recover cleanly after crashes.