We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e21906 commit dbdee15Copy full SHA for dbdee15
crates/bitwarden-vault/src/cipher/cipher.rs
@@ -432,7 +432,7 @@ impl CipherView {
432
ctx: &mut KeyStoreContext<KeyIds>,
433
key: SymmetricKeyId,
434
) -> Result<(), CryptoError> {
435
- let old_ciphers_key = Cipher::decrypt_cipher_key(ctx, key, &self.key.take())?;
+ let old_ciphers_key = Cipher::decrypt_cipher_key(ctx, key, &self.key)?;
436
437
const NEW_KEY: SymmetricKeyId = SymmetricKeyId::Local("new_cipher_key");
438
0 commit comments