Skip to main content

cipher_has_password

Function cipher_has_password 

Source
pub fn cipher_has_password(
    key_store: &KeyStore<KeySlotIds>,
    cipher: &Cipher,
    password: &str,
) -> Result<bool, RotationCipherError>
Expand description

Whether cipher’s login password is password.

Settles a write whose outcome is unknown: the server may have stored it even though the connector saw a rejection. A cipher without a login is RotationCipherError::CipherNotLogin.