Download the PHP package ez-php/webauthn-metadata without Composer
On this page you can find all versions of the php package ez-php/webauthn-metadata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ez-php/webauthn-metadata
More information about ez-php/webauthn-metadata
Files in ez-php/webauthn-metadata
Package webauthn-metadata
Short Description FIDO MDS trust-anchor lookups for WebAuthn: metadata blob download, JWT verification, trust-anchor cache and attestation chain trust decisions
License MIT
Homepage https://github.com/ez-php/webauthn-metadata
Informations about the package webauthn-metadata
ez-php/webauthn-metadata
FIDO Metadata Service (MDS3) trust-anchor lookups for ez-php/webauthn:
download and cryptographically verify the MDS blob, cache it, and decide whether an authenticator's
attestation chain leads to a trust anchor FIDO lists for its AAGUID.
ez-php/webauthn deliberately makes no network calls, so its AttestationResult::$trusted only reflects
signature validity. This module is the optional, separate check that adds "is this a known, non-revoked
authenticator model?".
Installation
Requires ext-openssl, ext-curl, ext-json.
Usage
The blob is re-verified on every load (the cache is not trusted) and refreshed once it passes nextUpdate.
A download or verification failure throws a MetadataException — it never falls back to a stale blob.
What is checked
- The MDS JWT:
x5cchain to your root (CA constraints, validity), RS256/ES256 signature,nextUpdate. - The attestation chain: validity, signature links, and a match against the entry's attestation roots.
- MDS status:
REVOKED,ATTESTATION_KEY_COMPROMISE,USER_VERIFICATION_BYPASS,USER_KEY_REMOTE_COMPROMISE,USER_KEY_PHYSICAL_COMPROMISEmake a model untrusted.
Not covered: CRL/OCSP revocation, U2F-only entries (no AAGUID).
Bring your own transport by implementing BlobFetcherInterface, and your own storage via BlobCacheInterface.
Quality
All versions of webauthn-metadata with dependencies
ext-curl Version *
ext-json Version *
ext-openssl Version *