Implement at-rest encryption: AES-256-GCM VFS layer
- Added encrypted_fs.rs module for transparent file encryption - EncryptedVfs wraps any VfsBackend with AES-256-GCM encryption - Per-file key derivation from master key + file path (SHA-256) - File format: MBE1 magic + version + nonce + original_size + ciphertext + tag - EncryptedFile transparently decrypts on read, encrypts on flush - 5 unit tests: roundtrip, different keys, key derivation, header format, password config Tests: 457 markbase-core (+5 new), 201 smb-server (658 total)
This commit is contained in: