-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No implementation to check "attestation type" #80
Comments
I believe this is useful for scenarios where you would want to allow passwordless login. By storing the attestation data during the registration ceremony, a RP could periodically check with the FIDO metadata service whether the authenticator is still considered trustworthy. I'd like to work on this. Any preference for the API? I was thinking of an ActiveModel-like interface. Calling |
Hey @bdewater, thanks for the continuous efforts 👍 I think your suggestion follows this statement in section [6.4.2]https://www.w3.org/TR/webauthn/#attestation-formats), specifically:
Given that, your suggestion makes total sense. Later in our path we will probably have to think about better erroring to be raised when some verification procedures fail, other than just returning Maybe an intermediate option, without breaking compatibility would be to internally rescue such error in the AuthenticatorAttestationResponse#attestation_statement method for now? In the future I foresee the ability to even add configuration around this. |
I started poking at this earlier this week but I'm blocked on getting a working account for the FIDO metadata service to get an access token. I believe I need this to make a distinction between 'basic' and 'attestation CA' as described at https://w3c.github.io/webauthn/#attca
An alternative would be to return 'uncertainty' for now (quoting 'packed' attestation):
|
leaving this as an issue to note, this is not a requirement from me.
http://w3c.github.io/webauthn/#sctn-attestation-types
There several lines like the following in the attestation statement verification steps:
Maybe returning attestation type from
AttestationStatement::Base#valid?
could be an interface?The text was updated successfully, but these errors were encountered: