Skip to content

[v13] feat!: Rewrite FIDO2 device interactions to be non-concurrent#37539

Merged
codingllama merged 1 commit intobranch/v13from
codingllama/backport/37181-v13
Jan 30, 2024
Merged

[v13] feat!: Rewrite FIDO2 device interactions to be non-concurrent#37539
codingllama merged 1 commit intobranch/v13from
codingllama/backport/37181-v13

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Backport #37181 to branch/v13.

Changelog: tsh FIDO2 backend re-written for improved responsiveness and reliability.

* Bump go-libfido2 to 399e6dce025f0fae1e47088e4912e113512240cb

bump

* Add the IsFIDO2 and Close functions to FIDODevice

* Rewrite FIDO2 device interactions as single-threaded

* test: Wait for device goroutines on tests

* test: Drop "metered" tests

* test: Adjust tests according to behavioral changes

* nit: Invert u2f flag to fido2

* Reintroduce Info retries

* nit: Update old comments

* Delete unused code

* test: Fix minor lint issues

* Set the libfido2 device timeout

* Appease linter

* Revert "test: Wait for device goroutines on tests"

This reverts commit 2f87127.

* nit: Function declaration indent

* Document that openedDevices.devices doesn't change length after assigned

* Log the retry interval

* Bump go-libfido2 to v1.5.3-teleport.1
@codingllama
Copy link
Copy Markdown
Contributor Author

Clean cherry-pick, except for a go.mod conflict in unrelated modules.

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from rosstimothy January 30, 2024 18:49
@codingllama codingllama added this pull request to the merge queue Jan 30, 2024
Merged via the queue into branch/v13 with commit f209030 Jan 30, 2024
@codingllama codingllama deleted the codingllama/backport/37181-v13 branch January 30, 2024 19:09
@camscale camscale mentioned this pull request Feb 6, 2024
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