Skip to content

Commit

Permalink
Add debug logging when no shared secret is available
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Jul 10, 2024
1 parent 978725b commit b833a60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ctap2/commands/get_assertion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ impl GetAssertion {
pin_uv_auth_result.get_pin_uv_auth_token().as_ref(),
))
} else {
debug!(
"Shared secret not available - will not send hmac-secret extension input: {:?}",
hmac_get_secret_or_prf
);
match hmac_get_secret_or_prf {
HmacGetSecretOrPrf::HmacGetSecret(_) => None,
HmacGetSecretOrPrf::PrfUninitialized(_)
Expand Down

0 comments on commit b833a60

Please sign in to comment.