mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 11:13:44 +00:00
Cargo fmt
This commit is contained in:
@@ -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))?;
|
||||
|
||||
Reference in New Issue
Block a user