Add prototype encrypted CAS blobs
This commit is contained in:
parent
6e04e786c2
commit
533ffc8c2a
8 changed files with 382 additions and 6 deletions
|
|
@ -306,11 +306,16 @@ authorization and durable-state boundaries clear.
|
|||
- `[x]` Unpinned cached blobs can be evicted by policy.
|
||||
- `[x]` Tests cover attempted eviction of pinned data.
|
||||
|
||||
- `[ ]` Encrypted private blobs.
|
||||
- `[x]` Encrypted private blobs.
|
||||
Acceptance criteria:
|
||||
- Private blob payloads are encrypted before network distribution.
|
||||
- Access is gated by resource secret epoch material.
|
||||
- Docs explicitly avoid claiming forward secrecy or PCS.
|
||||
- `[x]` `geth cas add-private <resource> <path>` stores an encrypted CAS
|
||||
envelope instead of plaintext payload bytes.
|
||||
- `[x]` `geth cas get-private <resource> <hash> --out <path>` decrypts with
|
||||
a matching local resource secret epoch.
|
||||
- `[x]` Access is gated by local resource secret epoch material.
|
||||
- `[x]` Tests verify encrypted blob roundtrip and wrong resource/secret
|
||||
rejection.
|
||||
- `[x]` Docs explicitly avoid claiming forward secrecy or PCS.
|
||||
|
||||
- `[~]` Iroh-docs KV integration.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue