Skip to content

fix(conformance): install statement attestation roots instead of emptying the vendor roots - #633

Merged
Bccorb merged 2 commits into
mainfrom
fix/conformance-android-key-roots
Dec 2, 2026
Merged

Bccorb merged 2 commits into
mainfrom
fix/conformance-android-key-roots

Conversation

@Bccorb

@Bccorb Bccorb commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Supersedes #609. Carries its production dependency bumps (including @simplewebauthn/server 14.0.3 to 14.1.0) plus the conformance change the new version needs.

Why #609 failed

14.1.0 fails closed on Android Key: with no root certificates set for android-key, a statement-less attestation is refused. Conformance mode set every vendor root list to [], so the attestation format test that pinned that behaviour broke.

Emptying the roots was the wrong tool regardless of the bump. With an empty list, the library skips certificate path validation altogether for Apple and for the SafetyNet fallback, so conformance mode accepted any chain those statements carried.

Change

  • Conformance mode now replaces the Apple, Android Key and SafetyNet roots with the attestationRootCertificates of the loaded conformance statements, deduplicated. The roots are never emptied.
  • When no loaded statement carries a root, the vendor roots stay in place and a warning says why the tools' vendor-format statements will be refused.
  • Android Key in a real run verifies through its metadata statement, which brings its own trust anchor. The test now proves that path against a trimmed copy of the tools' statement for the fixture's authenticator, and proves an empty root list is refused.
  • docs/fido-conformance.md describes the new behaviour.

Production is unaffected: this code runs only in conformance mode.

Checks

typecheck, lint, format:check, build and coverage all pass locally (206 files, 3664 tests).

dependabot Bot and others added 2 commits December 2, 2026 16:33
…y with 5 updates

Bumps the production-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@simplewebauthn/server](https://github.com/MasterKale/SimpleWebAuthn/tree/HEAD/packages/server) | `14.0.3` | `14.1.0` |
| [bcrypt-ts](https://github.com/Mister-Hope/bcrypt-ts) | `9.0.2` | `9.0.3` |
| [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) | `8.7.2` | `8.7.5` |
| [jose](https://github.com/panva/jose) | `6.2.14` | `6.2.18` |
| [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) | `1.13.15` | `1.13.17` |



Updates `@simplewebauthn/server` from 14.0.3 to 14.1.0
- [Release notes](https://github.com/MasterKale/SimpleWebAuthn/releases)
- [Changelog](https://github.com/MasterKale/SimpleWebAuthn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MasterKale/SimpleWebAuthn/commits/v14.1.0/packages/server)

Updates `bcrypt-ts` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/Mister-Hope/bcrypt-ts/releases)
- [Changelog](https://github.com/Mister-Hope/bcrypt-ts/blob/main/CHANGELOG.md)
- [Commits](Mister-Hope/bcrypt-ts@v9.0.2...v9.0.3)

Updates `express-rate-limit` from 8.7.2 to 8.7.5
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](express-rate-limit/express-rate-limit@v8.7.2...v8.7.5)

Updates `jose` from 6.2.14 to 6.2.18
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](panva/jose@v6.2.14...v6.2.18)

Updates `libphonenumber-js` from 1.13.15 to 1.13.17
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.13.15...v1.13.17)

---
updated-dependencies:
- dependency-name: "@simplewebauthn/server"
  dependency-version: 14.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: bcrypt-ts
  dependency-version: 9.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: express-rate-limit
  dependency-version: 8.7.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: jose
  dependency-version: 6.2.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: libphonenumber-js
  dependency-version: 1.13.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@Bccorb
Bccorb merged commit 6eab8ee into main Dec 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant