by usrbinbash · 4y ago · 0 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
Speaking from experience with my system: it really doesn't.
99/100 services are perfectly happy with the passwords generated by my default settings (64chars alphanumeric with symbols). I had to manually intervene exactly 2 times so far, and the only param I had to change was the pwd length.
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.
But besides that, a biological verification could rely on someone performing some sort of affirmative action (think "my voice is my password" type systems). Indeed, prior to computers, nearly all authentication was performed roughly in this manner but with humans rather than AIs doing the evaluation. In practice, the authentication part generally worked quite well (but bribing the authenticator was a good "hack").
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.
How is "killing passwords" a prerequisite for this? I just explained how a pwd manager provides exactly that.
> in a way that's difficult to mess up.
The first step towards that is designing a system that is simple in its architecture.
eg. Private Key Authentication is nice, but requires a public key infrastructure to work at scale. I don't know, but I believe teaching the use of a "password safe" to a non tech person is much easier than giving a lesson on PKI and the x.509 standard.
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).
If a level of security is required where even a compromised end user system is not enough for an attacker to authenticate successfully, then MFA is the only answer, and that is not an argument against passwords, because it doesn't matter what the other factors are.
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.