28 points · by mooreds · 4y ago · 50 comments
I read the prior article, and the two main problems with passwords apparently are pwd-db leaks and email accounts as central password reset mechanism.
A password manager software solves both these problems. I have to remember 2 passphrases: 1 to decrypt my harddrive / backup, one to access my password manager.
Everything else is protected by a truly random, long, unique-for-every-service, password. Yes, that includes my email account. It's simple, it requires no external services, I control it in its entirety, it can be done using 100% FOSS software.
db leak somewhere? So what, the chance of a 64byte random string being bruted/rainbowed is next to zero, and it's used nowhere else. And it takes me all of 10 seconds to set a new password that is just as strong.
And since the pwd-safe is part of my backups, there is no single point of failure involved.
Wouldn't it be cool if we could move to a world where by design it was impossible for grandma to share her credentials from bank.com on shady-criminals-definitely-not-trying-to-steal-your-stuff.com?
She was so frustrated with the password it was crazy. Especially because there are 1000 rules a password must have to be "safe" these days. And even then, she would just use a slightly different version of her default password.
I'm 100% certain she wouldn't remember that password the next time she has to log into that account. So she has to go through the whole password reset nightmare with all this horror again. Terrible.
It generates long, random passwords, satisfying arbitrary rules that the user doesn't need to worry about.
It hides all these passwords behind one master key, which is the only one the user has to remember.
Resetting passwords is a non issue, because the pwd manager doesn't forget a password.
This requires lots of magic everywhere to make this "work". Every time it fails, the user is left with confusing nonsense.
At the weekend the company who took over one of my pensions sent me a QR code for "my account". Well of course it's just a "create account" link but as a QR code. So I create the account, it requires a password. So I pick a random password, nope. "Please follow the password requirements", it's a paragraph of text, including a maximum length, required characters, forbidden characters, combinations, and so on. I had to manually adjust the randomly generated password. Eventually I guessed that although double quotes aren't listed as forbidden they probably are, and that was enough.
Now, I know what I'm doing, but realistically most users are going to settle for something easy or worse they are going to give up altogether.
Passwords are awful, it's long past time to do WebAuthn
What we really need is hardware tokens stills secured by a master password. I think yubikey optionally supports device unlock PINs, but they don't support unicode.
This is left as an exercise for the authenticator but means the authenticator guarantees it's checked either biometrics or PIN, thus meeting the "have" && ("know" || "are") criteria.
If you're paranoid the authenticator might lie to you, you can use the attestation data and only trust the UV flag from tested/trusted authenticators.
That said, know/have/are thing is more of a heuristic than a rule. A theoretical system that _perfectly_ tests only "are" could be more secure than a "have" && "know" system, depending on your threat model.
That circles back to the right against self-incrimination part. And a biometric system on its own (without the "have" part) seems like it could be done without verifying intent by just pointing a remote version of the same sensor at a person.
It is a different world out there.
But this doesn't mean I need a passwordless world.
In my view, the goal of the "passwordless" movement is to take basic security best practices that techies have known and practiced for decades (using unique, random, unphishable credentials for each site), and make them the default for everyone, in a way that's difficult to mess up.
A password manager can be an extra 10 seconds of work up front in some edge cases — input not detected correctly, signing up in an app, trying to quickly get through a flow when your password manager is logged out… People just revert back to the easiest path, which is their 5 letter password they’ve already used on a billion services.
Oh, and another rough edge case is when the autogenerated password doesn’t match the password requirements. Using a disallowed symbol, too long, etc
This has been my experience too. For my parents or my siblings no matter what I try we always end up back there. And I understand to a degree, the software is getting in the way of getting something done.
I’ve managed to get to the point where at least their email accounts use a non-standard passphrase for them, so the likelihood of it being taken over and used as a reset vector for other accounts is much much smaller. And that’s about the best I can do.
There is always a trade-off in security vs. comfort. To me, having a completely secure authentication method that is simple and doesn't rely on any third party services, blorkchains etc. and is completely under my control, is important enough to be worth the occasional 10 seconds of work.
> another rough edge case is when the autogenerated password doesn’t match the password requirements
Which is why the generator I use allows me to set the character set & max length.
There simply should not have to be this trade off. I know how to adjust the generator for the rules. But on my phone, that’s a fair amount of extra work and you have to know how to do it. For non-tech peers, they won’t know how to learn that, and they’ll likely not understand the trade-off well enough to do it anyways.
So we’re back at the beginning: passwords need to be secure by default — without going through any extra steps, or we need a different approach that is secure without extra work.
You can keep using them if you like.
Passwords don't have to be insecure, that's precisely the point of a pwd manager (apart from having a different pwd for every service).
I also don't implement any automatic password reset workflow, because if you're using a password manager then you shouldn't ever need to reset your password. If you do, it will involve manual verification and talking to your account manager.
Computers can get compromised, and physical keys can be stolen.
Not exactly multisig, but Signal demonstrated how they achieve a similar feat: Tech preview for secure value recovery, https://news.ycombinator.com/item?id=21838413 (2019)
Then there is also OPAQUE, which was demoed by Cloudflare Research a while back: Passwords that never leave your device, https://news.ycombinator.com/item?id=25346632 (2020)
> A major issue in the crypto world is people giving away their seed phrases. We could make this impossible by requiring a password + AES encrypted exports of the key.
WebAuthn solves this by tightly integrating with the Browser and (TLS) hostnames. SQRL is another take on this, in particular, its key revocation ceremony is rather, err, novel: https://www.grc.com/sqrl/idlock.htm
Keybase meanwhile implemented KEX to help facilitate authenticated key exchanges: https://news.ycombinator.com/item?id=28064172
A note: Public-key cryptography is super hard that it is baffaling folks consider it better (security-wise and ux-wise) than passwords; unless of course you've got the expertise of IETF CFRG or Signal or Apple: https://news.ycombinator.com/item?id=5493442
Having to make a password is not a pleasant user experience. You type a password you used for another site only to get a message saying that you need to add digits and symbols. So annoying. Now you have to remember two passwords.
And if you try to follow the best security practices, everything becomes even more difficult. For example, it is recommended to use different passwords for different sites. But can an average human remember 20, 50 or 100 different passwords? Unlikely.
So instead users simply use same or similar passwords and save them in a browser. Which means, once their computer gets hacked or stolen all their passwords are leaked. And even if a user doesn't save passwords, they can be stolen with a keylogger.
Passwords can also be bruteforced or leaked when the server is hacked.
Here in Russia banks always require a SMS confirmation to login - which means that passwords are not considered secure by them.
Author suggests to use key files instead. They offer slightly better security if protected with a password, but still can be stolen by a malware and still have inconvenience of dealing with passwords. In legacy OS like Windows or Linux every application has access to all user files, so any of them could steal your keys.
Therefore I think that the solution to both usability and security issues would be a physical key. It could be optionally protected with a PIN code.
Imagine how easy it would be to login or register - you simply insert the key into a lock and press a button. It is better than passwords or key files in every aspect.
Don't have to. That's my pwdmanager's job. I only have to remember the master key. Which can't get leaked if some webpage gets hacked, because its stored only on my machines.
> And even if a user doesn't save passwords, they can be stolen with a keylogger.
And physical keys can be stolen by a pickpocket. Or lost and found by someone. Or worse: The entity that issues them gets compromised (eg. forced into compliance by an authoritarian regime) and duplicates are issued.
At least with my pwdmanager, I myself hold control (and responsibility) for the security of the system.
I'll stay with passwords... a few important ones + a password manager for random forums and sites.
I like how modern hardware wallets have a little display to show up what is getting signed. Wish something like that existed for Yubikeys.