Privacy & Encrypted COS Sync
Local Directory Layout (Portable Desktop)
| Path | Purpose | Synced to COS |
|---|---|---|
.private/app/health.sqlite | Core SQLite database (vitals, workouts, sleep, weight, notes, TCX cache) | Yes (encrypted) |
.private/sync/ | COS sync config & metadata | No |
.private/ghealth/ | Google OAuth client & tokens | Never (strictly local) |
.private/webview/ | Isolated WebView2 user data | No |
data/ | Raw snapshot archive | No |
分享图片/ | Exported 1080 × 1350 dual-theme PNG posters (KeepPace-*) | No |
Map & Route Privacy
OpenStreetMap tiles are fetched only for the current viewport while raw WGS84 GPS polylines are overlaid locally inside bundled Leaflet—no GPS coordinates are ever uploaded.
End-to-End Encrypted COS Sync
Powered by shared crate keep-sync-cos:
- Cryptography:
Argon2id(keeppace-sync-key::{workspace_id}) +XChaCha20-Poly1305+BLAKE3. - Isolated Channel: Dedicated
keeppace-sync/{workspace_id}prefix,kpcsync1_share codes, and.kpcsnapsnapshots. - Smart SQLite Merge: Syncs only
health.sqlite, preserving desktop Fitbit records by_updatedtimestamp while unioning mobile lifestyle tags and retaining journal entries, with self-healing in-process locking.