#66 Add grant-based cross-PDS download for shared files

closed high · sable · 2026-03-02 23:37 · closed 2026-03-02 23:37 · feature · Phase 2: Sharing

Comments — 1

sable note 2026-03-02 23:37

Temporary approach: --grant flag on download command. Recipient passes the grant URI explicitly. Flow: fetch grant from owner PDS (public) → extract wrapped key + document URI → fetch document record (public) → fetch blob (public) → unwrap key → decrypt. Will be replaced by auto-discovery when inbox command exists. Needs: get_blob_public in client/did.rs, download_shared in documents/download.rs, --grant flag in CLI.

Generated 2026-03-03 02:53 UTC