Skip to content

Validate Apple App Attest authenticator extensions - #65

Open
pke wants to merge 1 commit into
uebelack:mainfrom
pke:codex/app-attest-authenticator-extensions
Open

Validate Apple App Attest authenticator extensions#65
pke wants to merge 1 commit into
uebelack:mainfrom
pke:codex/app-attest-authenticator-extensions

Conversation

@pke

@pke pke commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • parse and type-check apple_validation_category_01 and apple_bundle_version_01 from attestation authenticator data
  • add optional validation-category and bundle-version allowlists plus a strict mode requiring both extensions
  • preserve existing extensionless behavior when no strict policy is configured
  • return verified extension values and document the API with generated TypeScript declarations
  • cover Apple’s current sample fixture and malformed, partial, disallowed, Map, and backward-compatibility cases

Verification

  • npm test -- --runInBand (50 tests, 100% statements/branches/functions/lines)
  • npm run lint:check
  • npm run format:check
  • npm run types

The test fixture is sourced from Apple’s current attestation object validation guide.

@pke
pke force-pushed the codex/app-attest-authenticator-extensions branch from b8b4965 to dd01a00 Compare August 2, 2026 22:53
@pke
pke force-pushed the codex/app-attest-authenticator-extensions branch from dd01a00 to 2b3b1bd Compare August 2, 2026 22:55
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