From 7405c1964d8672da5e14ad25c0feca3c229a7a01 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 1 Mar 2024 19:19:10 +0100 Subject: [PATCH] Fix hmac-secret salt_auth size --- src/ctap2/get_assertion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctap2/get_assertion.rs b/src/ctap2/get_assertion.rs index fe57ed6..8ce293a 100644 --- a/src/ctap2/get_assertion.rs +++ b/src/ctap2/get_assertion.rs @@ -20,7 +20,7 @@ pub struct HmacSecretInput { pub key_agreement: EcdhEsHkdf256PublicKey, // *either* enc(salt1) *or* enc(salt1 || salt2) pub salt_enc: Bytes<80>, - pub salt_auth: Bytes<16>, + pub salt_auth: Bytes<32>, #[serde(skip_serializing_if = "Option::is_none")] pub pin_protocol: Option, }