caniuse icon indicating copy to clipboard operation
caniuse copied to clipboard

Add passkeys to Can I Use

Open jensimmons opened this issue 2 years ago • 7 comments

Creating the JSON file to add passkeys to Can I Use, to fulfill https://github.com/Fyrd/caniuse/issues/6450

jensimmons avatar Sep 15 '22 22:09 jensimmons

Once again, I have an error in the new file I'm trying to create. I often don't know how to handle the formatting of notes/bugs/resources when those fields are empty.

Thoughts @Schweinepriester ?

jensimmons avatar Sep 15 '22 23:09 jensimmons

@jensimmons If you look at the validator result ("Details" link) you'll see the error "Error: [passkeys] Failed hasCategories validation on "categories". Got this: Web API,security". I believe the categories should be ["JS API", "Security"].

I think you'll also want to leave the parent value as empty string and set any necessary keywords to something other than the sample default.

Fyrd avatar Sep 16 '22 02:09 Fyrd

It would also be great to have a way to test support for this to easily tell when support is added in other browsers. I looked around a little bit but wasn't able to find anything simple yet.

Fyrd avatar Sep 16 '22 03:09 Fyrd

Thanks @Fyrd! This file passes, keywords and all.

jensimmons avatar Sep 16 '22 18:09 jensimmons

I just asked our engineers if there's a demo from FIDO Alliance that could serve as a great test, but it seems like not.

They did clarify that supporting passkeys includes:

  1. User-verifying platform authenticator
  2. Support for “conditional mediation” in CredMan
  3. Platform it’s running on supports cross-device sign-in via the hybrid transport
  4. Credentials are backed up and/or synced

jensimmons avatar Sep 16 '22 20:09 jensimmons

https://www.passkeys.io/ - has a demo, but aren't passkeys just using the WebAuthn API? So if you support WebAuthn at a specific level, you support passkeys? https://github.com/Fyrd/caniuse/issues/5649

ptman avatar Oct 04 '22 12:10 ptman

When will this be merged?

asafd1 avatar Oct 28 '22 13:10 asafd1

Passkeys are now supported in Chrome 108+

https://blog.chromium.org/2022/12/introducing-passkeys-in-chrome.html

jensimmons avatar Jan 11 '23 22:01 jensimmons

aren't passkeys just using the WebAuthn API? So if you support WebAuthn at a specific level, you support passkeys?

No. WebAuthn is part of the stack -- the part a web developer codes.But support for passkeys is much more complex than that. It goes deeper into the underlying operating system, often involving security and various kinds of biometric credential management.

I wish Can I Use would be willing to add a page for this. Web developers should be implementing passkey support on their websites and web apps, but there is not good data available on which browsers on which operating systems have support. Not having the resources developers need holds back the web from replacing passwords with a far more secure way to log in.

jensimmons avatar Jun 03 '23 03:06 jensimmons

Have merged & updated this PR, though still in the process of testing support and updating information about the feature. In particular I think notes may be necessary on different behavior for different OSes? Further help would certainly be appreciated.

Fyrd avatar Jun 10 '23 06:06 Fyrd

Wound up linking to https://passkeys.dev/device-support/ in the notes, seems pretty comprehensive.

Fyrd avatar Jun 11 '23 05:06 Fyrd