News for hackers. Stuff that matters.
Re:Security Update by TeMPOraL on Friday May 17, 2019 @03:56AM (#19937326)
Sure. But that advice was written 12 years ago. I'd be surprised if they didn't update their password storage since then.
Re:Security Update by krzyk on Friday May 17, 2019 @05:14AM (#19937727)
How do you update password storage if you don't store the passwords only hashes?

You could upgrade it for new users, but for old ones? (e.g. I don't change passwords often)

Re:Security Update by EvilTerran on Friday May 17, 2019 @05:47AM (#19937914)
When a user whose password is hashed the old way logs in, after checking the password they just supplied against your stored old hash but before forgetting the plaintext, you can compute the new hash & update your records.

Of course, that only works for active users - it won't upgrade anyone that never logs in. Depending on just how weak the old hash is, you may want to eventually cut off any lingering un-upgraded accounts: just forget their old hash, requiring them to go through your password reset process should they ever come back. If you've left it long enough, those accounts will probably never be used again anyway, so that should be NBD.

Re:Security Update by ShinTakuya on Friday May 17, 2019 @05:37AM (#19937851)
I updated a DB from MD5 to BCrypt at my last job. Essentially on the next login I updated the password (since the password isn't hashed on the client end). So all active users got switched over. After a relatively short period I reset the remaining passwords and forced users to send password reset emails to login.
Re:Security Update by erpellan on Friday May 17, 2019 @05:45AM (#19937908)
Onion hash: hash the existing hash with the new algorithm.
Re:Security Update by hopscotch on Friday May 17, 2019 @06:08AM (#19938029)
That throws away entropy, but I suppose so long as very few hash collisions of a password are likely to be real passwords themselves it would be harmless.
Re:Security Update by Crinus on Friday May 17, 2019 @05:32AM (#19937828)
You could rehash the password the next time the user logs in.
Re:Security Update by TeMPOraL on Friday May 17, 2019 @05:31AM (#19937819)
You ask people to change their passwords, and when they do so, you store them with the new scheme. You can do that by e.g. requiring everyone to change their password on their next login/visit.
Re:Security Update by icebraining on Friday May 17, 2019 @10:08AM (#19939735)
You don't even need to ask people to change their passwords; when they login, you have a copy of the original password, so you can just store the new hash over the old.
Re:Security Update by bluedino on Friday May 17, 2019 @08:13AM (#19938738)
If they aren't salted, just generate your own rainbow table!