YDevDesk YDevDesk
YDevDesk / End-to-End Encrypted Sync AES-256-GCM · Zero-Knowledge

End-to-End Encrypted Sync

Sync workspace layouts, theme preferences, and pinned tabs across machines using your own GitHub Secret Gist with client-side AES-256-GCM encryption.

How It Works

YDevDesk operates no central cloud backend. When you want to keep layouts aligned across machines, opt-in sync uses your own GitHub Secret Gist:

  1. Open Settings → Sync and provide a GitHub Personal Access Token (gist scope) plus your passphrase.
  2. YDevDesk filters out all sensitive fields and encrypts the payload locally with PBKDF2 + AES-256-GCM.
  3. Only the encrypted envelope is uploaded to your private ydevdesk-sync.json Gist.
  4. On another machine, enter the same token and passphrase to decrypt and restore your desk.

✓ Synced Data

  • Saved Dockview workspace layouts and panel arrangements
  • Theme selection and UI preferences
  • Quick Action command presets
  • Pinned session markers and custom display titles (without raw chat logs)

✕ Never Synced

The following sensitive data is strictly excluded and never leaves your workstation:
  • API keys, GitHub tokens, SSH keys, and passwords
  • Local filesystem paths (such as projects-root)
  • Agent conversation logs (JSONL files) and shell history
  • Self-hosted Homelab / YDevHub / YNetMon credentials

Sample Gist Structure

json · ydevdesk-sync.json
{
  "version": 1,
  "cipher": "AES-256-GCM",
  "kdf": "PBKDF2-SHA256",
  "salt": "<base64-salt>",
  "iv": "<base64-12-byte-nonce>",
  "ciphertext": "<base64-encrypted-payload>"
}