Skip to main content

should_use_blob_encryption

Function should_use_blob_encryption 

Source
pub(crate) fn should_use_blob_encryption(
    client: &Client,
    organization_id: Option<OrganizationId>,
) -> bool
Expand description

Returns true when cipher data for the given scope should be written in the blob-encrypted format, based on the client’s current security state version. Individual-vault ciphers qualify once the security state has reached BLOB_SECURITY_VERSION. Organization-vault support is tracked in PM-32430.