Skip to main content

should_use_blob_encryption

Function should_use_blob_encryption 

Source
pub fn should_use_blob_encryption(
    ctx: &KeyStoreContext<'_, KeySlotIds>,
    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 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.