Skip to main content

Module crypto

Module crypto 

Source
Expand description

Cryptographic helpers used by the access connector.

The org slot is keyed by the [OrganizationId] from the access token’s organization claim. The cipher half of a rotation lives in bitwarden_pam::rotation.

Enums§

CryptoModuleError 🔒
Errors produced by the cryptographic helpers in this module.

Functions§

unwrap_org_key 🔒
Decrypt the identity server’s encrypted_payload with token’s derived key and install the org key into store.