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

google / OpenSK / 39790196061
97%
2.1: 97%

Build:
Build:
LAST BUILD BRANCH: fix-ci-test-warnings
DEFAULT BRANCH: 2.1
Ran 22 Oct 2026 01:54PM 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

22 Oct 2026 01:48PM UTC coverage: 97.459% (+0.03%) from 97.425%
39790196061

push

github

web-flow
Accept built-in UV tokens without a PIN in MakeCredential/GetAssertion (#822)

* Accept built-in UV tokens without a PIN in MakeCredential/GetAssertion

With the fingerprint feature, getPinUvAuthTokenUsingUvWithPermissions
issues a pinUvAuthToken through built-in UV without any PIN set. But
MakeCredential and GetAssertion reject every pinUvAuthParam with
CTAP2_ERR_PIN_NOT_SET when no PIN is set (CTAP 2.0 logic), so that
token can never be used.

Platforms prefer the token path whenever pinUvAuthToken is advertised,
so an authenticator with built-in UV and no PIN fails every UV-required
request (e.g. Chrome: "operation timed out or not allowed").

Keep the 2.0 check, but only reject when no form of user verification
is configured: neither a PIN nor an enrolled built-in UV method.

* Apply the user verification check to all "protected by some form of UV" steps

Move has_user_verification to storage and use it wherever CTAP 2.1
says "protected by some form of user verification" but OpenSK only
checked for a PIN: the discoverable-credential check in MakeCredential
(makeCredUvNotRqd), authenticatorLargeBlobs set, and
authenticatorConfig.

The remaining pin_hash checks are PIN-specific by the spec: clientPin
in getInfo, the zero-length pinUvAuthParam response, setPin/changePin,
forceChangePin, and blocking built-in UV when the PIN is blocked.

* Update comments for the user verification check

CTAP2.1 does cover a pinUvAuthParam on an authenticator without any form
of user verification, and the rk check now depends on any form of user
verification, not only a PIN.

168 of 168 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

14690 of 15073 relevant lines covered (97.46%)

3975.16 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.9
0.11% libraries/opensk/src/ctap/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 39790196061.1 22 Oct 2026 01:54PM UTC 41
97.46
GitHub Action Run
Source Files on build 39790196061
  • Tree
  • List 41
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • af63209d on github
  • Prev Build on develop (#39747792305)
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