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 f04fb2d commit a2dd716Copy full SHA for a2dd716
crates/bitwarden-crypto/src/keys/master_key.rs
@@ -150,11 +150,9 @@ pub(super) fn decrypt_user_key(
150
let stretched_key = SymmetricCryptoKey::Aes256CbcHmacKey(stretch_key(key)?);
151
user_key.unwrap_with(&stretched_key)
152
}
153
- EncString::Cose_Encrypt0_B64 { .. } => {
154
- Err(CryptoError::OperationNotSupported(
155
- crate::error::UnsupportedOperation::EncryptionNotImplementedForKey,
156
- ))
157
- }
+ EncString::Cose_Encrypt0_B64 { .. } => Err(CryptoError::OperationNotSupported(
+ crate::error::UnsupportedOperation::EncryptionNotImplementedForKey,
+ )),
158
159
160
0 commit comments