Skip to main content

Module reader

Module reader 

Source
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§

CommitPlaintext
Decrypted commit plaintext bytes.
CommitReader
Encapsulates the key derivation chain for reading a commit’s objects.
DecryptedShard
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.