Skip to content

Commit ae9ba48

Browse files
committed
Fix error returned from decrypt_user_key
1 parent 60dfd44 commit ae9ba48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bitwarden-crypto/src/keys/master_key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub(super) fn decrypt_user_key(
153153
}
154154
EncString::Cose_Encrypt0_B64 { .. } => {
155155
return Err(CryptoError::OperationNotSupported(
156-
crate::error::UnsupportedOperationError::EncryptionNotImplementedForKey,
156+
crate::error::UnsupportedOperationError::DecryptionNotImplementedForKey,
157157
));
158158
}
159159
};

0 commit comments

Comments
 (0)