Skip to content
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

Add a method to determine whether external CTAP2 security keys are supported #1173

Closed
jcjones opened this issue Mar 7, 2019 · 3 comments
Closed

Comments

@jcjones
Copy link
Contributor

jcjones commented Mar 7, 2019

In Mozilla's bug 1526023, we added a non-standard WebIDL method to PublicKeyCredential:

static Promise<boolean> isExternalCTAP2SecurityKeySupported();

We did this to avoid worse fingerprinting of Firefox CTAP2 support via user agent sniffing. The details are available in the bug.

I dislike adding fingerprinting surface, but the alternative for this situation was for RPs to have knowledge that Firefox 66 on Windows 10 build ${buildnumber} to have CTAP2 support, and others do not.

Perhaps this is something the WG should consider adding to the spec.

@jcjones jcjones changed the title Add a fingerprinting Add a method to determine whether external CTAP2 security keys are supported Mar 7, 2019
@jcjones
Copy link
Contributor Author

jcjones commented Mar 7, 2019

In argument to not adding this to the spec, it's a transitory thing: Firefox, for example, will eventually return a promise that resolves true every time, once we have support for CTAP2 on all platforms.

@sbweeden
Copy link
Contributor

sbweeden commented Mar 7, 2019

I'd really like to see this be a "user-agent webauthn capabilities" api, which covers more than just CTAP2, but also "pin support", plus potentially other things that allow the RP developer to provide a superior user experience during registration.

@nadalin
Copy link
Contributor

nadalin commented Mar 7, 2019

Per 03/07/19 F2F Close no action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants