This library keeps the common WebAuthn flow simple and makes attestation trust stricter only when you opt in.
The server attestation policy accepts:
allowed_formatstrust_modetrust_anchorsmetadata_provider
noneAccept cryptographically valid attestation without chain trust enforcement.permissiveVerify cryptographic validity, attempt trust-path validation if anchors are configured, and surface the trust result.strictRequire certificate-backed attestation to validate against configured trust anchors.
metadata_provider.getEntry(...) receives:
aaguidformatcertificates
It may return:
trustedstatusrevokedallowreason
This lets applications layer allow/deny logic or external metadata decisions on top of the built-in attestation format verification.
Registration verification now surfaces:
attestation_trustedattestation_policy_acceptedmetadata_status