Skip to main content

Module unlock

Expand description

Functionality for re-encrypting unlock (decryption) methods during user key rotation. During key-rotation, a new user-key is sampled. The unlock module then creates a set of newly encrypted copies, one for each decryption/unlock method.

Structsยง

ParsingError ๐Ÿ”’
ReencryptCommonUnlockDataInput ๐Ÿ”’
ReencryptMasterPasswordChangeAndUnlockInput ๐Ÿ”’
V1EmergencyAccessMembership
The data necessary to re-share the user-key to a V1 emergency access membership. Note: The Public-key must be verified/trusted. Further, there is no sender authentication possible here.
V1OrganizationMembership
The data necessary to re-share the user-key to a V1 organization membership. Note: The Public-key must be verified/trusted. Further, there is no sender authentication possible here.

Enumsยง

ReencryptError ๐Ÿ”’

Functionsยง

reencrypt_common_unlock_data ๐Ÿ”’
reencrypt_emergency_access_keys ๐Ÿ”’
Re-encrypt emergency access keys for the new user key.
reencrypt_master_password_change_unlock_data ๐Ÿ”’
reencrypt_organization_memberships ๐Ÿ”’
Re-encrypt organization membership keys for the new user key.
reencrypt_passkey_credentials ๐Ÿ”’
Re-encrypt passkey (WebAuthn PRF) credentials for the new user key.
reencrypt_tde_devices ๐Ÿ”’
Re-encrypt TDE device keys for the new user key.
reencrypt_userkey_for_masterpassword_unlock ๐Ÿ”’
to_authentication_and_unlock_data ๐Ÿ”’