Skip to content

Commit

Permalink
Fix hmac-secret salt_auth size
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Mar 4, 2024
1 parent 4846817 commit a9f8003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctap2/get_assertion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32>,
}
Expand Down

0 comments on commit a9f8003

Please sign in to comment.