Live data from Hacker News

Web Authentication API

developer.mozilla.org

71–76 of 76 posts

Re: Web Authentication API

#71

Looks great for web content, but how does it support the workflow of signing up for a website on my browser and then downloading their mobile app, and signing in on the app without a password? Or is that TBD?

Apps can redirect you to a browser that redirects back to the app on successful login.

Re: Web Authentication API

#72
So the private key will be stored a device for signing in across a few platforms. But what if I need to sign in from another device? I can't do that until I go back home and copy the key over to my mobile?

Re: Web Authentication API

#74
post #55

I wonder if this API can be coaxed into providing a method of authentication for "the other" 99% of people and use cases, without a hardware token and in a device-independent fashion, using passwords only . That may sound contradictory or that it misses the point, but let me explain. The password can be used to locally decrypt a secret key that is stored on the server at registration time, and that is retrieved based…

You just described https://github.com/sakurity/securelogin

It's an interesting project, although the blockchain incarnation seems to go in a different direction, more akin to social login.

While I congratulate you for your efforts, I can't really see the point of implementing this outside of the browser as anything more than a proof of concept. The whole idea is to replace the trust in a web service with the trust into the user agent, I would approach this as specification/standardization work, not something you whip up an electron app for.

The Failsafe work is fascinating, I just discovered it thanks to your link and I'm digging in.

Re: Web Authentication API

#75
post #55

Earlier quoted context omitted.

You just described https://github.com/sakurity/securelogin

It's an interesting project, although the blockchain incarnation seems to go in a different direction, more akin to social login. While I congratulate you for your efforts, I can't really see the point of implementing this outside of the browser as anything more than a proof of concept. The whole idea is to replace the trust in a web service with the trust into the user agent, I would approach this as specification/s…

Thanks, the blockchain part is recent and isn't relevant. Otherwise it's super simple idea: strong derivation based on something anyone can remember (username + pw) + website origin = strong non-reusable credentials w/o hardware.

It's definitely would be more successful being part of the browser, but Web Auth API is too slow to move so I went out to make a PoC instead. In the end: I hate electron apps now :) Also I now know what kind of effort is needed to change the auth space... I don't believe it will happen short term :/ It's too hard and too little incentive to change things.

The only perk of being outside the browser is being able to auth regular desktop apps like Spotify or Btc wallets. But yes, 99% are web apps so seamless in-browser login would make more sense.

Re: Web Authentication API

#76

I wonder if this API can be coaxed into providing a method of authentication for "the other" 99% of people and use cases, without a hardware token and in a device-independent fashion, using passwords only . That may sound contradictory or that it misses the point, but let me explain. The password can be used to locally decrypt a secret key that is stored on the server at registration time, and that is retrieved based…

> The password can be used to locally decrypt a secret key that is stored on the server at registration time, and that is retrieved based on the username provided.

I'm not sure I understand the advantage here. You're still dependent on a password.

> you will have a strong authentication scheme that is as secure as your (salted and stretched) master password

So, as secure as we have now.

> where you are guaranteed that a compromise on one of the sites does not spill over to the rest

Why not? If I use the same password for all sites, the attacker can just use that password to authenticate to all other sites (by decrypting all the other secret keys with it).

> Unless you choose to reuse a username, your identities will be independent and unlinkable

They're independent and unlinkable with passwords now, too. The only improvement is that your password doesn't go over the wire, which, admittedly, is a moderate improvement.

Post reply on HN