Skip to content

Fix U2F UP not timing out#778

Merged
kaczmarczyck merged 3 commits into
google:developfrom
ia0:fix-applet
May 28, 2026
Merged

Fix U2F UP not timing out#778
kaczmarczyck merged 3 commits into
google:developfrom
ia0:fix-applet

Conversation

@ia0
Copy link
Copy Markdown
Member

@ia0 ia0 commented May 28, 2026

There was 2 issues preventing the U2F UP from timing out:

  1. There was no timeout waiting for packets while U2F UP is on.
  2. When timing out for packets the U2F UP logic was skipped.

The fixes are:

  1. A timeout of 1 second is used when U2F UP is on.
  2. We execute the rest of the loop body (except for packet processing).

This needs the impl Drop for Touch of #777 to actually fix the blinking.

@ia0 ia0 requested a review from kaczmarczyck May 28, 2026 12:46
There was 2 issues preventing the U2F UP from timing out:
1. There was no timeout waiting for packets while U2F UP is on.
2. When timing out for packets the U2F UP logic was skipped.

The fixes are:
1. A timeout of 1 second is used when U2F UP is on.
2. We execute the rest of the loop body (except for packet processing).
@coveralls
Copy link
Copy Markdown

coveralls commented May 28, 2026

Coverage Status

coverage: 97.274%. remained the same — ia0:fix-applet into google:develop

kaczmarczyck
kaczmarczyck previously approved these changes May 28, 2026
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
@kaczmarczyck kaczmarczyck merged commit fc2a327 into google:develop May 28, 2026
11 checks passed
@ia0 ia0 deleted the fix-applet branch May 28, 2026 22:48
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.

3 participants