Crate sos_sdk

Source
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.

  • account Local account management.
  • audit Audit trail logs.
  • files Store external encrypted files.
  • recovery Primitives for social recovery.
  • search In-memory search index.

The following features require that the account feature is enabled:

  • archive Create and restore from account backup archives.
  • contacts Manage account contacts.
  • migrate Import and export unencrypted secrets.

Re-exports§

Modules§

  • accountaccount
    Create and manage local accounts.
  • auditaudit
    Audit 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.
  • logslogs
    Log tracing output to disc.
  • migratemigrate
    Export 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§

Enums§

  • Error thrown by the core library.

Type Aliases§

  • Result type for the core library.