Repository navigation
fix(conformance): install statement attestation roots instead of emptying the vendor roots - #633
Merged
Merged
Conversation
…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>
…ying the vendor roots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #609. Carries its production dependency bumps (including
@simplewebauthn/server14.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
attestationRootCertificatesof the loaded conformance statements, deduplicated. The roots are never emptied.docs/fido-conformance.mddescribes 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).