Live data from Hacker News

Web Authentication API

developer.mozilla.org

11–20 of 76 posts

Re: Web Authentication API

#11
post #4

For people confused about what this is: it's basically the de facto cross-browser standard for U2F security keys like Yubikeys.

Is this like Client Certs without the connection to the SSL cert?

Oh, I guess client certs are owned and controlled by the server owner...

Re: Web Authentication API

#12
If Microsoft allows Windows Hello to be used by Firefox, Chrome etc to enable this, this would be extremly huge. Same on mobile with Google & Apple.

Sadly i've got no idea how far away we are from this actually being implemented.

Re: Web Authentication API

#13
post #2

I'm a beginner in this area, but maybe someone can help me out. Would this be a replacement for something like Passport or Auth0?

Not exactly. It is an alternative to the concept of passwords in general. But it is not a complete solution to all the things covered by those services.

Re: Web Authentication API

#14
post #6
post #3

This is going to be _huge_ for the security of the average web user once it starts getting widespread adoption. Credential phishing, password reuse, credential stuffing, and weak passwords are all about to be a thing of the past, at least insofar as the web is concerned.

Doesn't this mean that if the authenticator is cracked then all of your accounts are revealed and become vulnerable? Compared to the situation today when if one your passwords is cracked they can't immeidately access your other accounts.

The authenticators are physical property of the people they authenticate. If you're especially worried you can remove it when not using it, you can lock it in a safe, you can give it to your personal bodyguard to protect with their life.

Air gapped authenticators are plausible, although they'd be awful from a usability perspective, if you're really that paranoid...

Whereas all your passwords are just bits, and you have to transmit those bits to a remote party every time you authenticate. You can't keep those bits safe, only trust that everybody else is looking out for you and they're all competent. Good luck with that.

Re: Web Authentication API

#15

Anyone know when the Google websites will start using this? Would love to finally be able to use my Yubikey with Firefox and Google.

you can partialy (password + second factor authentication) use this when using 2FA with your Google account, https://support.yubico.com/support/solutions/articles/150000...

Re: Web Authentication API

#16
post #15

Anyone know when the Google websites will start using this? Would love to finally be able to use my Yubikey with Firefox and Google.

you can partialy (password + second factor authentication) use this when using 2FA with your Google account, https://support.yubico.com/support/solutions/articles/150000...

Doesn't work with Firefox yet AFAIK. That page mentions requiring Google Chrome.

Re: Web Authentication API

#17
post #9

I wonder if you could use those keys also for encrypting content?

Not with this API. You can purchase objects which can do this AND handle say your GPG keys for encryption, but WebAuthn is deliberately narrowly scoped.

Using the same key for unrelated things can result in unpleasant surprises. So it's to be avoided.

If you have a crappy insecure email server that uses SSLv3 still, and uses the same key as your tightly locked down Web server with TLS 1.2 then this bites you really badly, I can use the email server to help me impersonate your web server.

Re: Web Authentication API

#20
post #10
post #6

Earlier quoted context omitted.

Doesn't this mean that if the authenticator is cracked then all of your accounts are revealed and become vulnerable? Compared to the situation today when if one your passwords is cracked they can't immeidately access your other accounts.

Stealing Web Authentication keys from a hardware token is a significantly higher bar than phishing you or brute-forcing your password hash from a database leak. At the very _least_ the attacker would first have to compromise your machine with malware, at which point they could easily get access to all your password-protected accounts anyway with a simple keylogger.

What happens if you lose your hardware token (or it gets stolen, ec.)? Is there a way for then to access your accounts?
Post reply on HN