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 7ee0278 commit 9b3549aCopy full SHA for 9b3549a
crates/bitwarden-core/src/platform/generate_fingerprint.rs
@@ -42,8 +42,7 @@ pub enum FingerprintError {
42
43
pub(crate) fn generate_fingerprint(input: &FingerprintRequest) -> Result<String, FingerprintError> {
44
let key = STANDARD.decode(&input.public_key)?;
45
- let key = SpkiPublicKeyBytes::from(key);
46
- Ok(fingerprint(&input.fingerprint_material, &key)?)
+ Ok(fingerprint(&input.fingerprint_material, &key.into())?)
47
}
48
49
/// Errors that can occur when computing a fingerprint.
0 commit comments