Skip to content

Explicitly close FIDO2 devices#36635

Closed
codingllama wants to merge 7 commits intomasterfrom
codingllama/fido2-tx-error
Closed

Explicitly close FIDO2 devices#36635
codingllama wants to merge 7 commits intomasterfrom
codingllama/fido2-tx-error

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented Jan 12, 2024

Keep FIDO2 devices open for the duration of the interactions and explicitly close them at the end.

Requires gravitational/go-libfido2#15.

#36640

Changelog: Improve speed and reliability of FIDO2 devices

@codingllama
Copy link
Copy Markdown
Contributor Author

I've shipped this build to a few customers and it seems to have improved assertion speed and reduced the occurrence of "tx errors".

@codingllama
Copy link
Copy Markdown
Contributor Author

I'll take a look at the test failures later.

@codingllama codingllama force-pushed the codingllama/fido2-tx-error branch from cf5f228 to bdce290 Compare January 15, 2024 20:48
@codingllama
Copy link
Copy Markdown
Contributor Author

I've just pushed a few additional commits: c8dbe9b, bcb13c4 and bdce290.

The first is self-explanatory.

bcb13c4 fixes a panic that happens occasionally.

bdce290 ensures fobs aren't left blinking forever in some particularly bad failures. It does mean that we expect a touch to happen within 30s, but I expect that to be a reasonable time interval.

@codingllama
Copy link
Copy Markdown
Contributor Author

As before, I'll create a dev build with those changes and send for some folks to try it out.

@codingllama
Copy link
Copy Markdown
Contributor Author

Closed in favor of #37181.

@codingllama codingllama deleted the codingllama/fido2-tx-error branch January 30, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants