Expand description
End-to-end encryption module for MockForge
This module has been refactored into sub-modules for better organization:
- algorithms: Core encryption algorithms (AES-GCM, ChaCha20-Poly1305)
- key_management: Key generation, storage, and lifecycle management
- auto_encryption: Automatic encryption configuration and processing
- derivation: Key derivation functions (Argon2, PBKDF2)
- errors: Error types and handling for encryption operations
§Key Management Architecture
Modules§
- utils
- Utility functions for encryption operations
Structs§
- Auto
Encryption Config - Configuration for automatic encryption of sensitive fields
- Auto
Encryption Processor - Automatic encryption processor for sensitive data
- Contextual
Error - Enhanced error with context
- Encryption
Key - Cryptographic key for encryption operations
- Error
Context - Error context for better debugging
- File
KeyStorage - File-based key storage implementation
- KeyManagement
Store - Key store for managing encryption keys
- KeyStore
- Key store for managing encryption keys
- Master
KeyManager - Master key manager for OS keychain integration
- Workspace
KeyManager - Workspace key manager for handling per-workspace encryption keys
Enums§
- Encryption
Algorithm - Encryption algorithms supported
- Encryption
Error - Errors that can occur during encryption/decryption operations
- Error
Recovery Strategy - Error recovery strategies
- Error
Severity - Error severity levels
- KeyDerivation
Method - Key derivation methods
Traits§
- KeyStorage
- Key storage interface for different key storage backends
Functions§
- decrypt_
with_ key - Decrypt text using a stored key
- encrypt_
with_ key - Encrypt text using a stored key
- get_
key_ store - Get the global key store
- init_
key_ store - Initialize the global key store
Type Aliases§
- Encryption
Result - Result type alias for encryption operations
- Result