News for hackers. Stuff that matters.
Re:Face ID and Touch ID for the Web by sneak on Wednesday June 24, 2020 @03:47PM (#23632989)
To think we could have had this a decade+ ago with TLS client certificates, if web browsers weren't perpetually stuck in the past.
Re:Face ID and Touch ID for the Web by acdha on Wednesday June 24, 2020 @04:11PM (#23633274)
You have the blame misattributed: almost nobody used client certificates because they cost money ($100+/year). That meant there was little demand outside of a few spaces like government and absent usage there was not much pressure on the UI improvements.

Client certificates are also worse for privacy and phishing resistance: with a certificate, if I can convince you to click on a link I get your identity. From the site's perspective, I don't have any way to tell whether the person with the certificate is the same person I saw or the person who compromised their computer or convinced a CA to issue a cert for someone else. Requiring key storage to be on a hardware enclave significantly reduces that risk, allows for the stronger attestation requirements mentioned, and also means that you're changing things from “trust anyone who can get a CA certificate” to “trust anyone who can do signatures from a previously-registered hardware key”.

Re:Face ID and Touch ID for the Web by 0x0 on Wednesday June 24, 2020 @05:34PM (#23634139)
Cost money? Once upon a time, html had <keygen>
Re:Face ID and Touch ID for the Web by sirn on Wednesday June 24, 2020 @04:04PM (#23633191)
How would you do the signing part though? Given that most CA don't do client certificate at all, nor it issue certificates with signing flags.

Even if CA does sign client certificate, and website is expected to store its public key, it expose some privacy concerns since a public key is now Personally Identifiable. If a website must provide its own self-signed CA and require user to provide a CSR when registering for an account, then it becomes a huge overhead for both website and user to just login.

I work with enterprise and the requirement usually requires client certificate. I never had a good experience setting it up even with a limited number of parties.

Re:Face ID and Touch ID for the Web by snuxoll on Wednesday June 24, 2020 @06:06PM (#23634408)
You don’t need a public CA to do client certificate authentication. Hell, your computer doesn’t even need to trust the CA that signed the key - it’s the server on the other end that cares about that.

This is precisely how WebAuthN works - but we figured out that we actually don’t need to go through the headache of getting CAs and signing involved at all. Just store a public key attached to a user after they’ve signed in via traditional means and let the browser/security token manage the keys.

Re:Face ID and Touch ID for the Web by tialaramex on Wednesday June 24, 2020 @04:01PM (#23633164)
Client certificates suck in a bunch of ways that WebAuthn, specifically designed to solve this problem, does not. Example:

If the certificate used to sign into Hacker News as "sneak" is also used to sign into PornHub then I can correlate that to discern that "sneak" on HN uses PornHub. Whereas you can't do that with WebAuthn credentials - a separate credential is spun up for every single registration, it's completely useless everywhere except the one site it was issued for and can't be correlated to other credentials except via a cryptographic attack on the underlying primitives (ie breaking WebAuthn itself).

Re:Face ID and Touch ID for the Web by ryukafalz on Wednesday June 24, 2020 @04:06PM (#23633215)
There's no reason a browser couldn't have generated a new self-signed client certificate for each site, though; the fact that they don't offer that as an option is just a browser design decision.
Re:Face ID and Touch ID for the Web by sirn on Wednesday June 24, 2020 @04:13PM (#23633299)
...which means a login is now tied to a browser, and you have to come up with a way to securely export or sync private key (bad idea?) or a way to link another browser to a login. Also user losing access to all their websites by accidentally uninstalling a browser doesn't sounds very user friendly.
Re:Face ID and Touch ID for the Web by sneak on Friday June 26, 2020 @04:57AM (#23650035)
This is exactly the same situation as software WebAuthn keys, if they are used as a single factor.
Re:Face ID and Touch ID for the Web by dividuum on Wednesday June 24, 2020 @04:57PM (#23633788)
There was actually a <keygen> html tag used within <form>s to generate a keypair what was then supposed to be signed by the server and finally returned to the browser for local installation. At least that's how I understand it. It's been deprecated for a while now.
Re:Face ID and Touch ID for the Web by ryukafalz on Wednesday June 24, 2020 @05:21PM (#23634013)
Oh wow, yeah - I didn't realize that existed, and now I'm sad it never caught on. :(