4 ms·
I tried using something similar for managing my passwords (basically base64(hmac-sha256(site-mnemonic, masterkey))). I found it had 2 shortcomings: - As other
by simias 14y ago
I tried using something similar for managing my passwords (basically base64(hmac-sha256(site-mnemonic, masterkey))).
I found it had 2 shortcomings:
- As others mention, if your masterkey gets compromised it's very difficult to reset it (you have to change your password everywhere).
- Many websites have stupid limitations on passwords: must be at most X chars long, must or must not contain this and that character...
So not only do you have to remember the per-service "salt" but you also have to find workarounds for the password limitations and remember them. So I just gave up on that and use KeepassX now.
- yogsototh 14y agoI started to created ypassword to manage many different password on many different websites. The main principle is mainly the same as yours. The formula is (mostly) password = base64(sha(site,masterKey,number)) I added the number once one of my password was compromised and I wanted to update it. Using this number it is not so difficult to update to resolve most stupid limitation on password. Almost all my password are good without using this parameter. Considering the compromised master key, if it is compromised, shouldn't you in the end replace all your password for any password storage system? Unless you are pretty sure your keychain datas weren't accessed? Concerning KeepassX I believe this is more secure than the "generate using your master password + website". But for now I continue to use my generated password simply because I find it hard to synchronize all the passwords on all platform. I don't like to use Dropbox or any "cloud" equivalent system to synchronize my keychain encrypted file. Using the generation method you generally don't need to "remember" anything other than your login. And at most you have to remember login + length of the password + format (b64 or hexadecimal) + number. But this is generally not the case. And these data can be shared publicly with a reasonable risk that your password won't be cracked. I haven't (as most people) found the best way to manage my password in the most secure way. But actually the generation scheme feels like a good enough system.