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

google / OpenSK / 38760844894
97%
2.1: 97%

Build:
Build:
LAST BUILD BRANCH: fix-large-blob-key-extension-validation
DEFAULT BRANCH: 2.1
Ran 15 Oct 2026 03:35PM UTC
Jobs 1
Files 41
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

15 Oct 2026 03:29PM UTC coverage: 97.293% (+0.05%) from 97.239%
38760844894

push

github

web-flow
Improves CTAPHID channel handling (#803)

We solve two issues related to channel ID handling:

- The maximum channel ID problem.
- Incoming messages on the wrong channel ID were rejected late.

Before, channel ID related code was distributed between `mod.rs` and
`receive.rs`. For the above fixes, we would have needed to parse packets
twice. Instead, a small refactoring made responsibilities clearer:
Channel allocation and locking are in `mod.rs` only. This simplifies
some logic in `receive.rs`.

Returning early for invalid channels also improves the error codes.
Now `ERR_INVALID_CHANNEL` does not compete with other potential errors
anymore.

To fix the channel ID overflow problem, we explicitly make allocated
channel IDs wrap now. Maximum channel ID is one before broadcast.
When wrapping happens, we reject all channels until they get
re-initialized. An older channel not timing out client-side and
interfering with a new allocation is unlikely given the number of
possible channels, and could in theory also happen after a reboot, so
this behavior should be acceptible.

277 of 277 new or added lines in 2 files covered. (100.0%)

14016 of 14406 relevant lines covered (97.29%)

4153.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38760844894.1 15 Oct 2026 03:35PM UTC 41
97.29
GitHub Action Run
Source Files on build 38760844894
  • Tree
  • List 41
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 636d85b8 on github
  • Prev Build on develop (#38681291079)
  • Next Build on develop (#39266107768)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc