|
7 | 7 | //! - **BLAKE3**: Fast cryptographic hashing |
8 | 8 | //! - **Bao**: Verified streaming for integrity verification |
9 | 9 | //! - **Key Management**: DEK/KEK architecture for efficient key rotation |
| 10 | +//! - **Sharing**: Secure file/folder sharing without exposing master keys |
| 11 | +//! - **Key Rotation**: Full filesystem key rotation with DEK re-wrapping |
10 | 12 | //! |
11 | 13 | //! ## Security Model |
12 | 14 | //! |
@@ -36,13 +38,17 @@ pub mod error; |
36 | 38 | pub mod hashing; |
37 | 39 | pub mod hpke; |
38 | 40 | pub mod keys; |
| 41 | +pub mod rotation; |
| 42 | +pub mod sharing; |
39 | 43 | pub mod streaming; |
40 | 44 | pub mod symmetric; |
41 | 45 |
|
42 | 46 | pub use error::{CryptoError, Result}; |
43 | 47 | pub use hashing::{Blake3Hash, Hasher, HashOutput}; |
44 | | -pub use hpke::{Decryptor, EncapsulatedKey, EncryptedData, Encryptor, HpkeConfig}; |
| 48 | +pub use hpke::{Decryptor, EncapsulatedKey, EncryptedData, Encryptor, HpkeConfig, SharePermissions}; |
45 | 49 | pub use keys::{DekKey, KekKeyPair, KeyManager, PublicKey, SecretKey}; |
| 50 | +pub use rotation::{KeyRotationManager, FileSystemRotation, WrappedKeyInfo, RotationResult}; |
| 51 | +pub use sharing::{ShareToken, ShareBuilder, ShareRecipient, AcceptedShare, FolderShareManager, AccessValidation}; |
46 | 52 | pub use streaming::{BaoEncoder, BaoDecoder, BaoOutboard, VerifiedStream}; |
47 | 53 | pub use symmetric::{Aead, AeadCipher, Nonce}; |
48 | 54 |
|
|
0 commit comments