News for hackers. Stuff that matters.
Re:Md5crypt is no longer strong enough by daurnimator on Thursday June 07, 2012 @11:00AM (#4079302)
The problem is that you may have to keep this code for a VERY long time (people don't log into sites for 3+ years and expect their old passwords to still work). Lugging around legacy code is never a good idea.
Re:Md5crypt is no longer strong enough by mikeryan on Thursday June 07, 2012 @11:15AM (#4079375)
I agree that lugging around legacy code but whats the alternative? (Note I'm not a security expert)

AFAIK its this

1. Continue using legacy, less secure hashing algorithm

2. Upgrade your password storage scheme and carry around some extra code and/or fields in your db.

3. Crack you own users passwords and convert them

Its all kind of smelly but 2 seems like the only option (unless I'm missing an option?)

Re:Md5crypt is no longer strong enough by daurnimator on Thursday June 07, 2012 @01:43PM (#4080278)
4. Expire all passwords and ask your users to come reset them. - No legacy code necessary

Regular users should have no problems if there's an accompanying blog post Non-regular users might just remember about your site/service and come back :)

5. Use bcrypt/password stretching. Store the work value alongside the password and upgrade it as people log in. To me that's not really keeping legacy code around; just an extra variable...