• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / OpenSK / 26605083306
97%
2.1: 97%

Build:
Build:
LAST BUILD BRANCH: flash-script
DEFAULT BRANCH: 2.1
Ran 28 May 2026 10:11PM UTC
Jobs 1
Files 40
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 May 2026 10:06PM UTC coverage: 97.274% (+0.01%) from 97.262%
26605083306

push

github

web-flow
Fix CTAPHID transaction timeout bug and user presence state leaks (#777)

This commit addresses responsiveness issues and CTAP protocol deviations
in the USB HID transport and user presence handling:

1. User Presence State Leak: When a user presence request is interrupted
   (e.g., by a timeout or an incoming USB packet), the touch state was
   incorrectly left running in the background. This prevented subsequent
   LED blinking and caused a panic if hardware interrupts (bounces) were
   queued. The `Touch` struct now correctly implements `Drop` to clear
   the state, and event handling safely ignores stale interrupts.

2. Transaction Timeout Race Condition: Following a transaction timeout
   (CTAP 2.1 Section 11.2.5.2), the firmware incorrectly dropped the
   next incoming packet while returning a `MsgTimeout` error. If the
   host initiated a new transaction with a `CTAPHID_INIT` packet
   immediately after a timeout, the new initialization packet was
   discarded, leaving the host waiting indefinitely. The timeout logic
   now preserves new initialization packets and only returns a timeout
   error if the host sends a continuation packet for the aborted message.

27 of 27 new or added lines in 1 file covered. (100.0%)

13241 of 13612 relevant lines covered (97.27%)

10322.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26605083306.1 28 May 2026 10:11PM UTC 40
97.27
GitHub Action Run
Source Files on build 26605083306
  • Tree
  • List 40
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bc1d619f on github
  • Prev Build on develop (#25390409725)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc