Skip to main content

Crate bitwarden_user_crypto_management

Crate bitwarden_user_crypto_management 

Source
Expand description

§Bitwarden User Crypto Management

Contains operations to manage a user’s keys, decryption methods and data.

§User Key Rotation

Allows changing the user’s symmetric userkey, and re-encrypting the data protected by it.

Modules§

change_kdf 🔒
Client operation for changing the account’s KDF (key derivation function) settings.
key_connector_migration 🔒
Client operations for migrating an initialized account to Key Connector unlock.
key_id_backfill 🔒
Record the user key’s id with the server for accounts where it was never captured.
key_rotation 🔒
Client to manage the cryptographic machinery of a user account, including key-rotation
pin_settings 🔒
public_key_encryption_key_pair_regeneration 🔒
Detect and fix corrupt or missing public key encryption key pairs for V1 encryption users.
user_crypto_management_client 🔒
Client to manage the cryptographic machinery of a user account, including key-rotation
v2_migration_permission 🔒
Grace period gating for the v2 encrypted migrations master-password prompt.

Structs§

PinSettingsClient
Sub-client for configuring PIN unlock behavior.
UserCryptoManagementClient
Client for managing the cryptographic machinery of a user account, including key-rotation.

Enums§

ChangeKdfError
Errors that can occur while changing the account KDF settings.
KeyIdBackfillError
Errors returned by the user key id backfill.
MigrationPermission
Whether the client may prompt the user to migrate to v2 encryption.

Constants§

UNIFFI_META_CONST_NAMESPACE_BITWARDEN_USER_CRYPTO_MANAGEMENT 🔒
Export namespace metadata.

Traits§

UserCryptoManagementClientExt
Extension trait to add the user-crypto-management client to the main Bitwarden SDK client.