3 ms·
The original Persona proposal had the concept of browser-based identity. Your browser would provide secure authentication, and then Firefox Sync would let you b
by JoshTriplett 9y ago
The original Persona proposal had the concept of browser-based identity. Your browser would provide secure authentication, and then Firefox Sync would let you bring the authentication credentials with you to other systems. You'd just click "sign in" on a site (or in the browser UI) and your browser would sign you in, with no other interaction required.
However, outside of a prototype addon, that approach never materialized. And without that, Persona didn't have a compelling use case except for people who didn't want to trust signing in via Facebook or Google or Twitter.
We're finally starting to see standards proposals that address this, and allow signing in via cryptographic authentication built into your browser. I hope to see those make OAuth obsolete for any use case other than API access to an account (e.g. "allow this site to integrate with Github").
- lifeisstillgood 9y ago> We're finally starting to see standards proposals that address this, and allow signing in via cryptographic could you point us at these - would've very interested as thelack of PKI in the world does bother me
- JoshTriplett 9y agohttps://www.w3.org/TR/webauthn/ https://www.w3.org/TR/webauthn/ Disclaimer: I have not reviewed this spec in detail yet, and my confidence in the W3C is not high.
- cpeterso 9y agoFirefox 60 will ship the WebAuthn API. Here's a Mozilla blog post with examples of how to use WebAuthn and FIDO U2F devices: https://hacks.mozilla.org/2018/01/using-hardware-token-based-2fa-with-the-webauthn-api/ https://hacks.mozilla.org/2018/01/using-hardware-token-based...
- JoshTriplett 9y agoWill it work with a key stored in the "software security device", rather than a hardware token? For that matter, the description shown on that page suggests that it supports using the key on the hardware token as the only authentication factor. That seems dangerous. Unlike a key stored on an encrypted disk, a U2F key typically works for anyone who steals it. Firefox needs to use that key together with another key stored in the browser, or otherwise ensure that someone who steals the U2F key does not gain access to every account secured with WebAuthn.
- cpeterso 9y agoYes, I think Firefox will support U2F "soft tokens". Code for a U2FSoftTokenManager was added in Firefox bug 1323339. https://bugzilla.mozilla.org/show_bug.cgi?id=1323339 https://bugzilla.mozilla.org/show_bug.cgi?id=1323339
- ubernostrum 9y agoAlso, Persona was interesting for being one of the few actually user-friendly and usable deployments of public-key cryptography ever to exist.