Skip to main content

Module crypto

Expand description

Functionality for re-encrypting account cryptographic state during user key rotation.

Functionsยง

rotate_account_cryptographic_state ๐Ÿ”’
rotate_account_cryptographic_state_to_request_model ๐Ÿ”’
Rotates an account cryptographic state and upgrades it to V2 if necessary. This function fails and logs an error via tracing if the passed keys are invalid, or if the account cryptographic state is malformed.
rotate_account_cryptographic_state_to_wrapped_model ๐Ÿ”’
Rotates an account cryptographic state and upgrades it to V2 if necessary. This function fails and logs an error via tracing if the passed keys are invalid, or if the account cryptographic state is malformed.