vestige/crates/vestige-mcp/src
Sam Valladares b8212feb15 feat(cloud-sync): zero-knowledge client-side encryption (XChaCha20-Poly1305)
The portable archive is encrypted on the client before upload and decrypted
after download, so the hosted service only ever stores ciphertext — true
zero-knowledge. The passphrase (VESTIGE_CLOUD_ENCRYPTION_KEY) is independent
of the bearer sync key and never leaves the device.

- new cloud_crypto module: Argon2id KDF + XChaCha20-Poly1305 AEAD, self-
  describing envelope (MAGIC|version|salt|nonce|ciphertext+tag)
- HttpPortableSyncBackend encrypts on write / decrypts on read; transparent
  upgrade of legacy plaintext archives; clear error if remote is encrypted
  but no passphrase is set
- sync_portable_archive_cloud takes optional encryption_key
- CLI surfaces encryption status (on/off) on sync
- 6 crypto tests (roundtrip, wrong-key, tamper detection, non-determinism,
  envelope detection); E2E verified: server blob is ciphertext, passphrase
  device recovers, no-passphrase device cannot decrypt

491 core tests green, clippy -D warnings clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 21:19:16 -05:00
..
bin feat(cloud-sync): zero-knowledge client-side encryption (XChaCha20-Poly1305) 2026-06-19 21:19:16 -05:00
dashboard Release v2.1.23 Receipt Lock hardening 2026-05-27 19:03:16 -05:00
protocol feat(mcp): add per-tool _meta["anthropic/maxResultSizeChars"] annotation (#56) 2026-05-25 13:49:51 -05:00
resources feat(v2.0.5): Intentional Amnesia — active forgetting via top-down inhibitory control 2026-04-14 17:30:30 -05:00
tools feat(connectors): add Redmine and source filters (#57) 2026-06-19 02:21:25 -05:00
autopilot.rs Release v2.1.22 Sanhedrin receipts (#55) 2026-05-25 01:44:52 -05:00
cognitive.rs feat(connectors): external-source connector layer + GitHub Issues (#57) 2026-06-19 01:21:59 -05:00
dashboard.html feat: Vestige v1.2.0 — dashboard, temporal tools, maintenance tools, detail levels 2026-02-12 04:33:05 -06:00
graph.html feat: Vestige v2.0.0 "Cognitive Leap" — 3D dashboard, HyDE search, WebSocket events 2026-02-22 03:07:25 -06:00
lib.rs v2.0.9 "Autopilot" — backend event-subscriber + 3,091 LOC orphan cleanup (#46) 2026-04-24 02:00:00 -05:00
main.rs Add OpenCode integration and safer startup 2026-06-15 17:06:01 -05:00
server.rs feat(connectors): add Redmine and source filters (#57) 2026-06-19 02:21:25 -05:00