Attestation statement is returned for Attestation.DIRECT or Attestation.INDRECT too.
To check the attestation Attestation.DIRECT is the first choice, and the use of Attestation.ENTERPRISE is limited to very specific use cases(https://developers.yubico.com/WebAuthn/Concepts/Enterprise_Attestation/).
https://github.com/eclipse-vertx/vertx-auth/blob/f2d60e09b724d9e01e170279b375b888d4a7e55e/vertx-auth-webauthn4j/src/main/java/io/vertx/ext/auth/webauthn4j/impl/WebAuthn4JImpl.java#L144
Attestation statement is returned for
Attestation.DIRECT
orAttestation.INDRECT
too. To check the attestationAttestation.DIRECT
is the first choice, and the use ofAttestation.ENTERPRISE
is limited to very specific use cases(https://developers.yubico.com/WebAuthn/Concepts/Enterprise_Attestation/).This should be
See also: https://github.com/quarkusio/quarkus/pull/44105#pullrequestreview-2403708793