News for hackers. Stuff that matters.
Re: Why passwords have never been weaker—and crackers have n... by adrianhoward on Tuesday August 21, 2012 @06:16AM (#4412047)
Add a new bcrypted password column.

Alter authentication so that it uses bcrypt column if populated.

Alter registration/password changes so that it populates bcrypt by default.

As old users log in (and you therefore have access to their plain text password and know that it's valid) populate the bcrypt with the correct hash.

After a period of N weeks when you've basically migrated all of your active users, do a forced password reset on the rest.

Kill the MD5 column.

Done :)

Re: Why passwords have never been weaker—and crackers have n... by yummyfajitas on Tuesday August 21, 2012 @06:38AM (#4412089)
As I said: "I'd also replace the `bcrypt . md5` password with a regular bcrypt one after the user authenticates."

The question is what to do to protect passwords starting today?

Re: Why passwords have never been weaker—and crackers have n... by adrianhoward on Tuesday August 21, 2012 @12:02PM (#4413286)
Apologies. I'm an idiot who can't read a question :-)

bcrypting the md5s sounds like a good approach.