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

google / OpenSK / 41820746851
98%
2.1: 97%

Build:
Build:
LAST BUILD BRANCH: codex/clear-failed-stateful-commands
DEFAULT BRANCH: 2.1
Ran 04 Nov 2026 11:31AM 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

04 Nov 2026 11:25AM UTC coverage: 97.465% (+0.006%) from 97.459%
41820746851

push

github

web-flow
Fails closed on large blob arrays that exceed the shard capacity (#833)

* Fails closed on large blob arrays that exceed the shard capacity

commit_large_blob_array only enforced the shard capacity with
debug_assert!, which is compiled out in release builds. Arrays larger
than the four large blob shards (4092 bytes) were silently truncated
while reporting success to the platform.

This adds a runtime check to the commit, returning
CTAP2_ERR_LARGE_BLOB_STORAGE_FULL, and enforces the corresponding upper
bound in Customization::is_valid, which previously only checked the
documented lower bound of 1024 bytes.

* Gates the large blob capacity import behind the std feature

is_valid() is only compiled with std, so the import is otherwise unused
and breaks the firmware build with -D warnings.

* Removes the max_large_blob_array_size customization

The shard capacity is the only sensible upper bound for a large blob
array, so advertising a configurable limit that can differ from it is
confusing. The CTAP layer now advertises and enforces
MAX_LARGE_BLOB_ARRAY_SIZE directly, is_valid() no longer needs the
corresponding bounds checks, and the tests that only exercised the
customization are gone.

---------

Co-authored-by: 17krishna8 <17krishna8@users.noreply.github.com>

21 of 21 new or added lines in 3 files covered. (100.0%)

14686 of 15068 relevant lines covered (97.46%)

3976.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41820746851.1 04 Nov 2026 11:31AM UTC 41
97.46
GitHub Action Run
Source Files on build 41820746851
  • Tree
  • List 41
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2382394d on github
  • Prev Build on develop (#40934147627)
  • Next Build on develop (#42597935155)
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