#134 Add CLI foundation with encrypt, upload, download, list, and delete

closed high · sable · 2026-03-02 23:37 · closed 2026-03-02 23:37 · feature · Phase 1: CLI Foundation

Subtasks

Comments — 2

sable note 2026-03-02 23:37

Phase 1: CLI Foundation. The core loop — authenticate with a PDS, encrypt a file client-side (AES-256-GCM), upload the ciphertext blob, create a document record with the encryption envelope, and reverse the process for download. Also includes ls and rm for basic file management. Scaffolding is done: workspace with opake-core (platform-agnostic lib with injectable Transport trait) and opake-cli (reqwest-based transport, clap commands). Record types and XRPC client protocol logic are in place. Crypto module has function signatures but no implementations yet. Key dependencies: aes-gcm, x25519-dalek, rand, base64 (commented in opake-core/Cargo.toml, ready to uncomment).

sable note 2026-03-02 23:37

Subissue #33 (token refresh) added to Phase 1 scope

Generated 2026-03-03 02:53 UTC