Expand description
CommitReader: encapsulates the commit->metadata->shard key derivation chain.
This is the void-core version that adds void-core-specific methods:
collect_ancestor_content_keys()– needs ObjectStore + Commit types
Low-level crypto primitives are delegated to void-crypto.
Structs§
- Commit
Plaintext - Decrypted commit plaintext bytes.
- Commit
Reader - Encapsulates the key derivation chain for reading a commit’s objects.
- Decrypted
Shard - Decrypted shard bytes (zstd-compressed body + optional padding).
Functions§
- collect_
ancestor_ content_ keys_ vault - Collect content keys from ancestor commits for shard decryption fallback.
- decrypt_
shard_ data - Decrypt a shard blob with wrapped key support.