Expand description
High-level software development kit for a distributed encrypted database that can be used to build password managers, cryptocurrency wallets or other applications that require storing secrets securely.
This library provides primitives for syncing when the sync
feature flag is enabled but does not perform any networking,
for networking support use the
sos-net crate.
The high-level account management API is described in account::Account which is implemented by account::LocalAccount for a network aware account use NetworkAccount in sos-net.
For lower-level access use the types in the vault module.
§Features
Default features enable account management, audit trail,
search and backup archives. If you want to just use encrypted
vaults without the account management support disable default-features.
accountLocal account management.auditAudit trail logs.filesStore external encrypted files.recoveryPrimitives for social recovery.searchIn-memory search index.
The following features require that the account feature is enabled:
archiveCreate and restore from account backup archives.contactsManage account contacts.migrateImport and export unencrypted secrets.
Re-exports§
pub use encoding::decode;pub use encoding::encode;pub use age;pub use argon2;pub use hex;pub use k256;pub use pem;pub use secrecy;pub use sha2;pub use sha3;pub use sos_vfs as vfs;pub use time;pub use totp_rs as totp;pub use url;pub use urn;pub use uuid;pub use vcard4;pub use zxcvbn;
Modules§
- account
accountCreate and manage local accounts. - audit
auditAudit logging. - Create and compare commits in an underlying merkle tree.
- Constants for file formats, folder names etc.
- Cryptographic routines and types.
- Types for device support.
- Binary encoding implementation.
- Events represent changes to accounts, folders and files.
- Iterate and inspect file formats.
- Account identity management.
- Integrity checks for vaults, event logs and external files.
- logs
logsLog tracing output to disc. - migrate
migrateExport and import unencrypted data. - Generate passwords.
- Prelude re-exports common types.
- Traits and types for signing messages.
- Folder storage backed by the file system.
- Vault encrypted storage and access.
Structs§
- File system paths.
- Date and time with binary encoding support.
Enums§
- Error thrown by the core library.
Type Aliases§
- Result type for the core library.