From a5f0444d24371db9f9e89a4ec7845e4899a9d51c Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Fri, 10 Jan 2020 17:12:43 +0100 Subject: [PATCH] match rp_id to fido2luks --- src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.rs b/src/device.rs index c574fdc..e92ceec 100644 --- a/src/device.rs +++ b/src/device.rs @@ -33,7 +33,7 @@ pub fn make_credential_id() -> Fido2LuksResult { pub fn perform_challenge(credential_id: &str, salt: &[u8; 32]) -> Fido2LuksResult<[u8; 32]> { let cred = FidoHmacCredential { id: hex::decode(credential_id).unwrap(), - rp_id: "hmac".to_string(), + rp_id: "fido2luks".to_string(), }; let mut errs = Vec::new(); match get_devices()? {