> Obviously, this would be less convinient and wouldn't sync between devices. But would do the job. Something that does not sync between devices does not do the job.
I tried to do this with keepass and google drive and one day found a 0byte keepass file. No idea what happened... luckily google drive had an auto backup from a while ago somehow. it was tedious to set up in the first place and any new device will need some setup again
Ask HN: Why do people use password managers?
41–50 of 77 posts
Re: Ask HN: Why do people use password managers?
#42This is one of those cases were putting my eggs in one highly battle-tested basket makes a lot more sense than trying to reinvent the wheel poorly.
But don't use Lastpass, OK?
Re: Ask HN: Why do people use password managers?
#43And I think it actually improves security as while if my phone is breached, I’m screwed, I’m now able to use unique, high entropy passwords for the 200+ accounts I have. And I’d never be able to do that without a password manager.
I use iOS instead of lasspass, etc because 1) it’s included in the phone price; 2) apple’s security record is better; 3) the above reason about having a spof. If I use lastpass now I have two spots. And one spof is better than multiples.
Re: Ask HN: Why do people use password managers?
#44> Obviously, this would be less convinient and wouldn't sync between devices. But would do the job. Something that does not sync between devices does not do the job.
I tried to do this with keepass and google drive and one day found a 0byte keepass file. No idea what happened... luckily google drive had an auto backup from a while ago somehow. it was tedious to set up in the first place and any new device will need some setup again
Re: Ask HN: Why do people use password managers?
#45I'm not going back to a life without a password manager.
Re: Ask HN: Why do people use password managers?
#46> Just a txt file encrypted with "master password" should be pretty damning to break into. This is surprisingly hard for non-engineers to get right. - Where do you put the decrypted file before you can open it up in Notepad? - Do you copy passwords to the clipboard, where other apps can spy on them in-flight to the destination? - How do you sync the encrypted file across machines? How do you resolve merge conflicts?…
Out of curiosity, how do you handle versioning in your scheme? What about password strength requirements, length restrictions, etc.?
Re: Ask HN: Why do people use password managers?
#47People use cloud-based password managers because they provide data resiliency. If you store your passwords locally only, you will have a day when your hard drive crashes, you've lost all of your passwords, and you will be in a very bad situation.
> The key difference here being that this is two way hashing so passwords can be decrypted.
There's no such thing as "two-way hashing". If you're worried that the master password password-hashing algorithm is crackable, that's fair, but that's only a problem if you use a weak master password. If you use a, say, 96-bit master password (e.g., 16 random base58 characters), then honestly you're pretty damn safe with even if a site only uses a single pass of SHA-256. But no one's using a single pass of SHA-256, they're using a PBKDF, which means you can use a few less chars in practice for the same security guarantee.
> In reality, there are a lot of attack vectors like MITM
The security of a remote password manager will only be as secure as the transport encryption, this is true. But TLS is pretty solid these days, the risk of breaking it is much smaller than other risks involved here.
> event logging or sometimes straight up storing data in plaintext
You will need to trust that the cloud-based provider doesn't store anything in plaintext. I trust my provider. I don't trust all of them.
Re: Ask HN: Why do people use password managers?
#48Earlier quoted context omitted.
I tried to do this with keepass and google drive and one day found a 0byte keepass file. No idea what happened... luckily google drive had an auto backup from a while ago somehow. it was tedious to set up in the first place and any new device will need some setup again
A similar thing happened to me, but one day my keepass file was corrupted instead of 0 bytes. Quickly switched to 1Password after that.
Re: Ask HN: Why do people use password managers?
#49Backup & password generation seem to be the big ones. Secondary is sharing of password and cross-device sync. Third tier is probably browser integration.
Tiers here represent the overall decrease in the security profile as you move to higher tiers.
Finally a small nit -- if it's reversible, it's not hashing. Password managers necessarily store encrypted plaintext (not hashed) passwords because you have to be able to enter your password onto a website.
Re: Ask HN: Why do people use password managers?
#50Allowing convenient use of strong, unique passwords per-account IS the job. If a user can't quickly access their passwords on all their devices, they're going to fall back on just typing it in. And in real life, that means they pick easy passwords and reuse them in lots of places. This opens them up to attackers who either guess the password, or take a password learned from one site and try the user's accounts on other sites.
A great password manager does the following:
1. Makes it easy to generate strong, unique passwords per-site every time an account is created.
2. Applies an expensive key derivation function to your vault password to make brute force impractical for all but the weakest passwords, so that stealing vaults is of minimal value.
3. Does not ever transmit your vault password off your device, so that an adversary who can intercept every vault file and every plaintext byte of traffic going to and from the server still cannot do better than a brute force attack against the vault.
4. Does all 3 of the preceding with a rigorously designed process that is regularly audited by multiple experts, and actively monitored to ensure that these things really are happening throughout the lifespan of the product.
5. Syncs across devices and integrates very well with the browser so that users have no incentive not to use it.
Lacking any one of those elements greatly compromises effectiveness. Homebrew solutions can be pretty dodgy about all of them, and #4 and #5 are particularly difficult even with a large budget and staff.
I'd say Bitwarden and 1password have earned excellent reputations for doing all 5 of these things. LastPass's reputation is not so great.