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

google / OpenSK / 37745122579
97%
2.1: 97%

Build:
Build:
LAST BUILD BRANCH: fix-builtin-uv-checks
DEFAULT BRANCH: 2.1
Ran 08 Oct 2026 07:47AM 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

08 Oct 2026 07:42AM UTC coverage: 97.247% (+0.09%) from 97.155%
37745122579

push

github

web-flow
Fix APDU parsing of case 2E and malformed Le fields (#787)

Fixes #565

The APDU parser rejected valid case 2E command APDUs (an extended Le
with no command data): a request like 00 03 00 00 00 12 34 failed with
SW_WRONG_LENGTH, although the extended form is required to be supported
on all transports. U2F VERSION is impacted, since it is the only U2F
command that carries no data.

The parser also accepted malformed case 4E requests with a 3-byte Le
(00 Lc1 Lc2 data 00 Le1 Le2): the 0x00 marker of the extended Le is
only allowed when Lc is absent, i.e. in case 2E.

The decoder now follows the case table of ISO 7816-3:2006 section
12.1.3 and rejects with SW_WRONG_LENGTH every length field combination
that the standard does not define, replacing the SW_INTERNAL_EXCEPTION
that undecodable lengths used to return. The single short Le that may
follow an extended Lc is still tolerated, for compatibility with the
CTAP HID flavor of the U2F framing.

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

163 of 166 new or added lines in 2 files covered. (98.19%)

13669 of 14056 relevant lines covered (97.25%)

4303.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.61
3.01% libraries/opensk/src/ctap/apdu.rs
1
92.54
0.94% libraries/opensk/src/ctap/ctap1.rs
Jobs
ID Job ID Ran Files Coverage
1 37745122579.1 08 Oct 2026 07:47AM UTC 40
97.25
GitHub Action Run
Source Files on build 37745122579
  • Tree
  • List 40
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 63768f19 on github
  • Prev Build on develop (#37478550733)
  • Next Build on develop (#37750512768)
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