1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 11:13:44 +00:00

Cargo fmt

This commit is contained in:
Bernd Schoolmann
2025-08-28 14:18:10 +02:00
parent cbe628c55b
commit 9d10a68bc5

View File

@@ -170,10 +170,7 @@ impl super::BiometricTrait for BiometricLockSystem {
windows_hello_authenticate_with_crypto(&keychain_entry.challenge)?;
let decrypted_key = XChaCha20Poly1305::new(&windows_hello_key.into())
.decrypt(
keychain_entry
.nonce
.as_slice()
.into(),
keychain_entry.nonce.as_slice().into(),
keychain_entry.wrapped_key.as_slice(),
)
.map_err(|e| anyhow!(e))?;