Expand description
doublecrypt-core: Encrypted filesystem core library.
This crate implements a minimal encrypted object-backed filesystem. All filesystem logic runs on the client side; the backend block store sees only opaque encrypted blocks.
§Architecture
block_store– Block store trait and local implementationscached_store– Write-back LRU cache for anyBlockStoreproto– Shared protobuf types for the block-store wire protocolnetwork_store– mTLS network-backed block store (feature:network)allocator– Slot/block allocatorcrypto– AEAD encryption engine (ChaCha20-Poly1305)codec– Object serialization/encryption helpersmodel– Core data types (Inode, DirectoryPage, ExtentMap, etc.)transaction– Copy-on-write commit and root pointer managementfs– High-level filesystem operationsffi– C ABI for Swift interoperror– Error types
Modules§
- allocator
- block_
store - cached_
store - Write-back LRU cache that wraps any
BlockStore. - codec
- crypto
- error
- ffi
- Minimal C ABI for Swift interop.
- fs
- model
- network_
store - Network-backed block store that connects to a
doublecrypt-serverover TLS. - proto
- Protobuf types for the doublecrypt block-store protocol.
- transaction