16 ms·
WebAuthn Browser Support
- zagrebian 5y ago> Resident Key / Discoverable Credential - The browser supports WebAuthn credentials stored on the authenticator. These credentials can be read to identify the user account without the user manually providing them. Which websites do this?
- mooreds 5y agoIntuit is the big name I've always heard thrown around when it comes to WebAuthn passwordless login: https://fidoalliance.org/the-right-mix-intuits-journey-with-fido-authentication/ https://fidoalliance.org/the-right-mix-intuits-journey-with-... (which is what the discoverable credential enables). That's in contrast to WebAuthn as a second factor (which is where the authenticator is another factor in addition to a password).
- michaellee8 5y agoWeb3Auth uses a WebAuthn + Social login approach to store the credentials. https://web3auth.io/ https://web3auth.io/ Disclaimer: I work there.
- number6 5y agoThis is something you can do pretty easily with webauthn, but I never thought it as a good idea. Maybe instead of a "Remeber Me" Function...
- tialaramex 5y agoThe passwordless WebAuthn UX is much nicer than everything except, maybe, passwords plus an unsupervised auto-fill rule, which is also a great way to get your passwords stolen (if the auto-fill rule ever malfunctions your passwords get automatically given to somebody else). Yet it delivers much better security.
- will4274 5y agoMicrosoft does it. It's hidden behind one click in the UX, but if you click "Sign in options" on the screen where it asks you for a username to sign into e.g. Outlook, one of the options is to sign in with a WebAuthn credential. Here, Microsoft invokes the WebAuthN API in "discoverable credential" mode (with empty allowCredentials) - if you have multiple online accounts connected to your Windows account, Windows will ask you which of the accounts you want to use and then provide both userid and assertion for that account.
- 411111111111111 5y agoif you're using a keycloak for you authentication, you can actually enable it today! https://keycloak.ch/keycloak-tutorials/tutorial-webauthn/ https://keycloak.ch/keycloak-tutorials/tutorial-webauthn/ you basically just have to create a new 'browser flow' and enable this one in the realm you wish to authenticate with. It wasn't really possible to add multiple keys to the user the last time i configured it -- but according to the docs, that seems to be resolved so it probably is worth another look.
- kuschku 5y agoSadly I haven’t managed to find a way to make keycloak prefer security keys for 2FA over TOTP. I always get the TOTP prompt first, then have to click "try another way" and select security key.
- ArchOversight 5y agoIt depends on the order that the user registered their 2FA, since they are ordered (and an admin can move factors up/down in the admin interface). If you move the WebAuthN devices above the TOTP, Keycloak will first ask for the WebAuthN key with a button to switch back to another method (TOTP). It's slightly annoying.
- kuschku 5y agoNow that’s annoying! I wish there was a way to rank them, e.g., always prefer WebAuthN if available over TOTP.
- stavros 5y agoIs that OSS SSO software? Seems pretty nifty, and I'm looking for an SSO solution for work at the moment.
- 411111111111111 5y agoIt's pretty great, but you should be aware that the LTS version is called red hat single sign on (rh sso), and the keycloak itself updates every few months. It's usually not a deal breaker, but you should be aware if you're going to evaluate it for work
- stavros 5y agoI implemented it on www.pastery.net, for example, as I love the usernameless auth flow.
- rektide 5y agoNotably still no web standards for end to end encryption. We can crytopgraphically authenticate our identity with cloudservers, but the web has no way to cryptographically secure our data. Nitrokey at least understood how biased & half assed this lopsided half-assed standardizing is. Made a first ignored apaa at doing better. Yubico doesnt seem to notice or care, they're happy pushing better ways to uniquely identify ourselves.
- woodruffw 5y agoThe way you're using "end to end encryption" is confusing: many applications of TLS are end-to-end, since they involve a user communicating with a server (rather than a server brokering communications between multiple users). It doesn't make a lot of sense to standardize E2EE outside of a specific use case, since the "end" is subject to semantic squabbling. That being said, there's an IETF working group (do they count as a web standards group?) actively developing a standard E2EE messaging protocol[1]. [1]: https://datatracker.ietf.org/wg/mls/about/ https://datatracker.ietf.org/wg/mls/about/
- rektide 5y agoA thing running on my computer should be able to communicate on a way no intermediary can decrypt with your computer. This is not nearly so fuzzy as you imply. Signal gets it. Plenty of online systems can advertise & do end to end encryption. Your softened down incorrect definition is a mis-example: end to server to end is not e2e encryption. Security keys should be useful on the web for end encryption. They are not. There is nothing to debate about this situation, itcs well defined & clear. The web is missing a huge gap.
- woodruffw 5y agoSignal is a chat app (a very good one!), not a generic application layer like HTTP. When we're talking about the breadth of the services available on the web, there are plenty of contexts in which TLS is an E2E scheme. Not every use of TLS is E2E, but I didn't claim that.
- Mindless2112 5y agoSeems like the Android table is outdated. I just confirmed that I can register and log in to webauthn.io on Firefox 99 via NFC.
- kbrosnan 5y agoSupported since v92 https://github.com/mozilla-mobile/fenix/issues/19785 https://github.com/mozilla-mobile/fenix/issues/19785
- input_sh 5y agoThis resource is slightly outdated. Based on Firefox and Chrome versions I'd guess it was made around June 2021 and doesn't include changes since.
- mawise 5y agoIt looks like Firefox might be finally taking this seriously -- I've been tracking the open item for touch ID support which is also lacking and they upgraded the priority a few days ago. https://bugzilla.mozilla.org/show_bug.cgi?id=1536482 https://bugzilla.mozilla.org/show_bug.cgi?id=1536482
- vladvasiliu 5y agoIt also misses support for user presence verification on U2F tokens. https://bugzilla.mozilla.org/show_bug.cgi?id=1757583 https://bugzilla.mozilla.org/show_bug.cgi?id=1757583
- michaelt 5y agoThe user presence button my Yubikey works just fine. Do you mean they're missing support for user PIN entry?
- tialaramex 5y agoSo, User Presence and User Verification are distinct things in FIDO and thus WebAuthn. User Presence refers to determining that a human wants the authentication, often through some simple button or contact switch. This defuses a remarkable array of potential attacks, but obviously it isn't actually authenticating very much since a two year old and your grandmother can both press a button. User Verification refers to confirming this is the same human who owns the device. For a cheap FIDO device this might involve a PIN (not actually numeric, the difference from a password is that it's local, the PIN is not going to a remote web site, it's just proving to the device "I'm really your owner") while Yubico also makes devices that use a fingerprint, and I believe Apple sells products which use facial ID. The UV flow is significantly extra work for the browser, especially for PIN where now the browser needs to pop up a PIN entry window securely. In contrast UP is not work for the browser, in fact, many cheaper FIDO devices UP isn't even optional, if you say "I don't want UP" the device ignores you and just demands somebody press the button anyway. The authentication credentials you use to log in somewhere actually include signed bitflags from the FIDO device saying whether UP or UV occurred. So there is no way to fake this, if I didn't provide the PIN, my Yubico Security Key 2 will not sign the UV bitflag, and so a remote site knows it might just be a toddler pushing the button. Which is still fine as a second factor of course.
- deleted 5y ago[deleted]
- Hamuko 5y agoI've had to implement WebAuthn support once and it was a mess. Basically every browser and OS combination works slightly differently, so I ended having to do a bunch of changes to get at least somewhat decent UX. And Windows machines act completely differently depending on whether or not your computer has Windows Hello setup. And no one seems to have any idea on how Resident Keys should be managed, so if you ever register one, it just kinda exists from here until the end of time unless you know that one neat trick on how to get rid of one. Would definitely not recommend as a fun project.
- jrockway 5y agoThat's weird. I implemented it a year ago and it basically works perfectly on all the browsers I use. I can enroll a Yubikey on my desktop, and then hold it up to my iPhone to log in. (Of course, I also enrolled FaceID on the phone.) My one complaint is that enrollments don't sync between my iPhone and my iPad. Had to enroll my face twice. Code is here: https://github.com/jrockway/jsso2 https://github.com/jrockway/jsso2 (not security reviewed or well documented)
- tallanvor 5y agoYour face unlocks a certificate in the TPM (or Apple equivalent), and each device has unique certificates, so it's expected that you have to enroll for each device. The YubiKey has its own certificate, which is why it can be used everywhere without having to enroll it multiple times.
- gilbertbw 5y agoI believe there is a plan to support syncing private keys [0] (that you can turn on via the developer tab in Safari) announced at WWDC 2021 [1] and discussed in this blog post from Hanko [2]. But I have not heard any more about it in the last 10 months. [0] https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys https://developer.apple.com/documentation/authenticationserv... [1] https://www.macrumors.com/2021/06/10/apple-icloud-keychain-passkeys/ https://www.macrumors.com/2021/06/10/apple-icloud-keychain-p... [2] https://www.hanko.io/blog/passkeys-part-1 https://www.hanko.io/blog/passkeys-part-1
- cersa8 5y agoProps to Hetzner for having this properly integrated with the option for multiple (at least three in my case) hardware keys. For whatever reason, quite often you can only register a single device (looking at you AWS Root account). The only way around this is by setting up your backup keys with the same OTP private key and use the Yubico Authenticator app to generate the TOTP.
- deleted 5y ago[deleted]
- brian_herman 5y agoI use multiple keys for my google account.
- arccy 5y agoI don't think Hetzner does true WebAuthn? The setup is for the keys to type a password, not a challenge-response involving the browser.
- stavros 5y agoWebAuthn has multiple modes, there's no "true" WebAuthn. You're either using the WebAuthn APIs or you aren't.
- tialaramex 5y ago> quite often you can only register a single device (looking at you AWS Root account). For WebAuthn (and thus FIDO devices) this comes up regularly on HN. It's just AWS. It may feel like it's "everywhere", because it's your Amazon Web Services account, the credentials you use with DynamoDB, the thing you need for your EC2 VMs, the Cloud Computing stuff, your S3 buckets... oh right, yeah, that's all actually just AWS isn't it. It's still a bug, but it's specifically a bug in Amazon's implementation, there is no wider ecosystem problem here.
- mschuster91 5y agoIIRC, Twitter, Google, Dropbox and Facebook also don't allow to enroll multiple Yubikeys (ETA: Looks like I'm a bit outdated). In general, most platforms don't really account for the scenario "my 2nd factor got stolen/robbed/destroyed/lost" beyond also offering a phone app and printed recovery records - and the end result is that a house fire, flood or storm scenario locks out users permanently.
- stavros 5y agoI really really like WebAuthn, I hope it can catch on. I've made a Django library to enable easy usernameless/passwordless WebAuthn-based authentication for Django: https://pypi.org/project/django-webauthin/ https://pypi.org/project/django-webauthin/ You can see a demo on www.pastery.net, it's very nifty. Now that browser support is good, I will probably try to improve the library a bit to make the UX a bit better, but I really hope WebAuthn becomes commonplace.
- turtlebits 5y agoDoesn't work with either of my 2fa keys - one is a Titan key which your library says is supported. (Latest Chrome 100.0.4896.127)
- stavros 5y agoHm, thank you, I don't have a Titan key to test with but all my keys work... I'd appreciate a PR if you have any time to debug.
- xyzzy_plugh 5y agoI find it impressive that Android is so bad here, when Google has effectively been the leader in U2F for years. I am in awe that I can't use a FIDO device via WebAuthn in a webview on Android.