22 points · by ivanpashenko · 9y ago · 33 comments
> then log in using that non-password every single time I want to log in?
The key piece of UX in these systems is you don't make the user do this every time, but rather only when logging in on new devices, and after a reasonable expiration date, say 30 days.
For the average HN user, this might not be much of an improvement in terms of security or UX compared to a regular password system when used with a good password manager. The average internet user is and always will be much less sophisticated, however, and is someone who can manage to regularly forget even their really crappy passwords (if they use more than 1 password to begin with).
For the average user, I think this system improves both UX and security by a large degree because for UX, it removes the need to remember more than 1 password (the password to your email serves as your master password), and for security, it verifies identity using the ability to access an email and a device (browser) rather than the mere knowledge of an email and a password.
1.) It's less secure (unless the email is encrypted, which in most cases it is not).
2.) If you use GMail with several accounts and POP3 you'll have to wait until GMail sees fit to fetch the email.
3.) Password managers provide both a superior UX and superior security. So, by all means at least provide a password-based login as an alternative (which admittedly defeats the purpose for the operator to have a less complex authentication system to worry about).
I disagree. With opportunistic encryption, if the recipient' server supports STARTTLS, then the communication between the sender' server and the recipient' server is encrypted using TLS. Nowadays, all major email service providers support STARTTLS.
> If you use GMail with several accounts and POP3 you'll have to wait until GMail sees fit to fetch the email.
Just use the GMail to avoid the delay with fetching third party accounts.
> Password managers provide both a superior UX and superior security. So, by all means at least provide a password-based login as an alternative (which admittedly defeats the purpose for the operator to have a less complex authentication system to worry about).
I mostly agree, but:
1/ Alas, most users don't use a password manager. They keep reusing the same passwords on multiple websites, which is a serious security risk.
2/ If the user uses an email server that doesn't support STARTTLS, then theoretically an attacker could request a password reset and "catch" the unencrypted email.
My conclusion: Passwordless login is an interesting solution. But there are other issues to consider, discussed in other comments (email delivery latency/greylisting, ergonomy, need to remember which email address you used, etc.).
With regular passwords via a browser, you can ensure the channel is encrypted via HTTPS.
Opportunistic encryption is exactly that: it uses encryption if it can, but will fallback to unencrypted if not.
How is "sometimes encrypted, if its available" not less secure than "always encrypted, unavailable if encryption doesn't work"?
> Just use the GMail to avoid the delay with fetching third party accounts.
So, you're simultaneously suggesting that everyone use 'email links for login' and suggesting everyone use a single email provider? Sure, that doesn't sound terrible at all.
> most users don't use a password manager
What's your basis for this? Every browser in use today has a password manager built in. People promoting these bullshit "not a password" alternatives always claim "average people" don't use password managers, but never present any evidence of that.
> If the user uses an email server that doesn't support STARTTLS, then theoretically an attacker could request a password reset and "catch" the unencrypted email.
Firstly - the main security concern with emailed 'login' links isn't the transport at all - it's storage/accessibility via the mailbox. Breach the mailbox, and you've breached the third party sites. The part people always ignore when suggesting emailed links as an alternative, is that if an attacker breaches your mailbox, they could conceivably use that to access your third party service that uses login links, and the victim would never know, because there is no password being reset, no killing of previous sessions.
> My conclusion: Passwordless login is an interesting solution. But there are other issues to consider, discussed in other comments (email delivery latency/greylisting, ergonomy, need to remember which email address you used, etc.).
My conclusion: password-less login is a thing that exists via public key cryptography: see ssh, TLS client certificates. Emailing links to people is nothing more than a fucking stupid idea, and frankly it's ridiculous that your "other issues to consider" makes literally zero mention of any security concerns.
I agree. But there is still the issue of forgotten passwords and the infamous password reset emails. How do secure them in the face of "opportunistic encryption with STARTTLS"?
> So, you're simultaneously suggesting that everyone use 'email links for login' and suggesting everyone use a single email provider?
As I said in another comment, I was specifically answering to a sentence starting with "If you use GMail with several accounts and POP3". My point being, if you are already using GMail, then just use your GMail address to avoid the delay in fetching other POP3 accounts.
But it's true that password login has the strong advantage over passwordless login to let you login instantly if you (or your password manager) remember your password.
> > most users don't use a password manager > What's your basis for this? Every browser in use today has a password manager built in. People promoting these bullshit "not a password" alternatives always claim "average people" don't use password managers, but never present any evidence of that.
My basis for this is that, year after year, I keep reading publications showing that most users reuse the same password on multiple websites. Just search for "password reuse statistics" and you'll find a lot of evidence: https://www.google.com/search?q=password+reuse+statistics. "Average people" probably use the password manager built-in in their web browser, but it doesn't necessarily solve the main issue which is password reuse. Since you're asking for evidence, what evidence do you have to support your own claims?
> Firstly - the main security concern with emailed 'login' links isn't the transport at all - it's storage/accessibility via the mailbox.
I agree. My mistake to emphasize attacks on the transport when the biggest worry is the storage.
> The part people always ignore when suggesting emailed links as an alternative, is that if an attacker breaches your mailbox, they could conceivably use that to access your third party service that uses login links, and the victim would never know, because there is no password being reset, no killing of previous sessions.
This problem is not ignored. We can for example watch IP addresses used to connect, and notify the user connecting on the "usual" IP that we have detected another connection on a new/unseen IP. I'm not saying this is easy, but this is probably solvable.
Moreover, I notice that most non-technical users around me, when they are unable to connect because their password is refused, tend to think this is an error on their side, and just reset the password, without thinking they could have been hacked, which weakens your argument.
> My conclusion: password-less login is a thing that exists via public key cryptography: see ssh, TLS client certificates. Emailing links to people is nothing more than a fucking stupid idea, and frankly it's ridiculous that your "other issues to consider" makes literally zero mention of any security concerns.
A civilized discussion would be easier if you could avoid the words "fucking" and "ridiculous". You're claiming that passwordless login ignores important security concerns. I think that the human factor (forgotten passwords, password reuse, etc.) is big in the list of security concerns, and passwordless login can be an — imperfect — answer. That said, I agree that using public key cryptography in the vein of ssh would be a lot better than password and passwordless login combined.
"Don't use the email client you prefer" isn't really a great argument against it being bad UX...
Plus, I imagine some people may have multiple email accounts, and would have to hunt through them to figure out which one they used to sign up with.
(Similar to my problem with StackOverflow; I can never remember which identity provider I used to sign up with them, and end up just clicking on all of them in order until one lets me in. For all I know, I might have multiple accounts.)
So far, the few arguments against here are individual, convenience-based reasons. Those are certainly valid reasons, because if you inconvenience a potential user, they may never become an actual user.
Not everyone has a password manager, and many people use the same username, email and password across many services. The larger danger can be that if one service is hacked, it may provide a hacker access to many services, including email. A provider of a service with a passwordless login would never have to worry about being the root cause of such a breach. And, as long as the users' email was not hacked, would not be susceptible to malicious activity through another hacked service.
One question for the OP: What kind of service are we talking about? If the information is sensitive, then perhaps it is not a good idea. If it would be safe to keep a user logged-in after a session ends, then maybe a good consideration. By limiting the number of login requests, then you reduce the inconvenience.
Sure, but it still adds an extra step; my current manager doesn't have a "log into the email address you used to register with this site" button.
But you're right, there are advantages to email-based login.
I like the method that Slack has.. while they offer the old method of logging in with a password, their other method is to send your email a link and then once that link is clicked, they set a cookie indefinitely.
The other way is once a user registers for an account, they get an email to login, but before they can login, they have to enter in their phone number, so then from then on out, every time they enter in their email, they will get sent a text message and simply have to enter in a code.
It is still not technically passwordless, but it certainly is a unique method to have people login.
No matter how far we come though, the username and password seem to still be our best method of knowing WHO YOU ARE and verifying the account belongs to you.
Unfortunately, some sites use it to just get your email address, and still require you to make a password for them, which defeats the purpose and decreases user trust in the benefits of going through the flow.
Many services actually do support this. It's under "Forgot Password..." link when signing in ;-)
One alternative for password-less is to use Google Authenticator code as the password (i.e. send the QR code once by email and from then on use the Google Authenticator code), but I'm not sure if the the low entropy (1/1000000th chance of guessing the right password) would be enough for brute force attacks.
* Something you know
* Something you have
* Something you are
A conventional password-based login implements "something you know" (i.e. your password). A password-less login implements "something you have" (e.g. email access). That doesn't make it more secure, it's just substituting one authentication factor for another. One could argue that it's more convenient but that's subjective since people that use password lockers might actually find it less convenient.
An argument against password-less logins might be that they should be implementing multi-factor authentication in the first place. Password-less login is by nature not at least two-factor authentication. Even if you have two-factor authentication enabled for your email, it will still just be "something you have" because someone that gains access to your PC or phone will probably have access to your email as well. The easiest second factor to add into the mix is "something you know" (e.g. a password) and now you're back to conventional two-factor authentication practices.
That's way too many steps, and takes too long since many times email takes a while to get fetched—specially on mobile.