Skip to content

Commit

Permalink
user present test isn't needed in authenticatorGetNextAssertion
Browse files Browse the repository at this point in the history
  • Loading branch information
z4yx committed Nov 4, 2023
1 parent 93e02b3 commit be6325b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applets/ctap/ctap.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,8 @@ static uint8_t ctap_get_assertion(CborEncoder *encoder, uint8_t *params, size_t

// 8. [N/A] If evidence of user interaction was provided as part of Step 6.2
// 9. If the "up" option is set to true or not present:
if (ga.options.up == OPTION_TRUE) {
// Note: This step is skipped in authenticatorGetNextAssertion
if (credential_counter == 0 && ga.options.up == OPTION_TRUE) {
// a) If the pin_uv_auth_param parameter is present then:
if (ga.parsed_params & PARAM_PIN_UV_AUTH_PARAM) {
if (!cp_get_user_present_flag_value()) {
Expand Down

0 comments on commit be6325b

Please sign in to comment.