Skip to content

fix: CTAPHID concurrency and endpoint timing fixes - #26

Open
savely-krasovsky wants to merge 1 commit into
trussed-dev:mainfrom
savely-krasovsky:fix/ctaphid-concurrency
Open

fix: CTAPHID concurrency and endpoint timing fixes#26
savely-krasovsky wants to merge 1 commit into
trussed-dev:mainfrom
savely-krasovsky:fix/ctaphid-concurrency

Conversation

@savely-krasovsky

Copy link
Copy Markdown
  • Preserve active transactions and correctly handle competing CIDs/CANCEL.
  • Queue busy errors and retry blocked single-packet responses.
  • Fix receive timeout rollover/refresh and USB bInterval.

- Preserve active transactions and correctly handle competing CIDs/CANCEL.
- Queue busy errors and retry blocked single-packet responses.
- Fix receive timeout rollover/refresh and USB `bInterval`.
@savely-krasovsky

savely-krasovsky commented Jul 21, 2026

Copy link
Copy Markdown
Author

Both Yubico and Token2 tokens has INTERRUPT_POLL_INTERVAL = 5 (2ms), but I didn't find any stability problems even under huge load with 1ms, I guess LPC55 could handle it completely fine.

In my tests with Highspeed USB enabled SoloKey 2 is basically two times faster.

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.

1 participant