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 f7d5b36 commit 2eaa3bcCopy full SHA for 2eaa3bc
crates/bitwarden-crypto/src/cose.rs
@@ -91,7 +91,7 @@ impl TryFrom<&coset::CoseKey> for SymmetricCryptoKey {
91
match alg {
92
coset::Algorithm::PrivateUse(XCHACHA20_POLY1305) => {
93
if key_bytes.len() != xchacha20::KEY_SIZE {
94
- return Err(CryptoError::InvalidKey)
+ return Err(CryptoError::InvalidKey);
95
}
96
let enc_key = Box::pin(GenericArray::<u8, U32>::clone_from_slice(key_bytes));
97
let key_id = cose_key
0 commit comments