Skip to main content

rotate_cipher

Function rotate_cipher 

Source
fn rotate_cipher(
    key_store: &KeyStore<KeySlotIds>,
    organization_id: OrganizationId,
    cipher: Cipher,
    new_password: &str,
    stage: Stage,
) -> Result<CipherRequestModel, Halt>
Expand description

Re-encrypts cipher with new_password, mapping a failure to the stage’s halt.