Skip to content

fix: Handle failures when checking for excluded credentials#16737

Merged
codingllama merged 2 commits into
masterfrom
codingllama/u2f-excluded-credential
Sep 27, 2022
Merged

fix: Handle failures when checking for excluded credentials#16737
codingllama merged 2 commits into
masterfrom
codingllama/u2f-excluded-credential

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

U2F devices, like the Yubikey4, fail in a slightly unexpected way when assertions set UP=false. Handle this edge case and also make sure that failures when checking for excluded credentials won't break the entire ceremony.

Similar to #15975, but in the registration flow this time.

Repro steps:

  1. Register a Yubikey 4
  2. Attempt to register a different security key
  3. Registration fails with a "user presence required" error

Copy link
Copy Markdown
Contributor

@tobiaszheller tobiaszheller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm although cannot reproduce

@codingllama codingllama enabled auto-merge (squash) September 27, 2022 13:58
@codingllama codingllama force-pushed the codingllama/u2f-excluded-credential branch from 99d39bc to 4bdc87f Compare September 27, 2022 13:58
@codingllama
Copy link
Copy Markdown
Contributor Author

Friendly ping @jakule ?

@github-actions github-actions Bot removed the request for review from jakule September 27, 2022 16:00
@codingllama codingllama force-pushed the codingllama/u2f-excluded-credential branch from 4bdc87f to 682084c Compare September 27, 2022 16:20
@codingllama codingllama merged commit 53b3c93 into master Sep 27, 2022
@github-actions
Copy link
Copy Markdown
Contributor

@codingllama See the table below for backport results.

Branch Result
branch/v10 Create PR

codingllama added a commit that referenced this pull request Sep 27, 2022
…6765)

U2F devices, like the Yubikey4, fail in a slightly unexpected way when
assertions set UP=false. Handle this edge case and also make sure that failures
when checking for excluded credentials won't break the entire ceremony.

Similar to #15975, but in the registration flow this time.

Repro steps:

1. Register a Yubikey 4
2. Attempt to register a different security key
3. Registration fails with a "user presence required" error

Backport #16737 to branch/v10
@codingllama codingllama deleted the codingllama/u2f-excluded-credential branch September 30, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants