by sounddust · 17y ago · 0 comments
For example, you could have a dedicated decryption server holding the server-side key, carefully isolated from the rest of the internal network, its only channel of communication a single socket with request/response on decrypting passwords for password recovery. It could have rate limiting built in, and a storm of alerts to go off if backends request too many decryptions.
What if I drill into the safe and open it in a different manner?
ANY type of security has it's weaknesses. The only way is to add layers of security to make it harder to crack.
In other words, even if the author found out before writing the article that 37signals was storing users' passwords encrypted (instead of hashed), then he still would have written his article, and we would still be just as concerned as we are now.
You seem to be arguing against a point that no one is making.
Hashing and salting a password removes absolutely ewvery security weakness in terms of directly extracting the password. No need for layered security and potentially complex uneeded encryption/decryption in your app. Safe, secure. end of the matter :)
It is seriously worrying that you believe this.
Cracking hashed passwords offline is no big deal on a single machine unless you have really strong password policy - you know, the type of password no real regular user would even enter.
Allowing password security to depend on what the user enters IS silly - but who would! 32haracter salts and sha256 is going to produce a fairly uncrackable password.
Even if you know the salt and the salting algorithm (because simply appending a salt is also silly) it can still take a while :)
Im not talking about just sticking "MYSECRETSTRING" on the end of every password and sha1-ing it :)