News for hackers. Stuff that matters.
Re:Slack was hacked by mirashii on Friday March 27, 2015 @06:58PM (#9279604)
Is there some reason that you don't just hash the whole column or table though? It does everything you described, except also makes even the bcrypted passwords available in the event of a db dump. It just seems like a half-measure where a whole-measure is just as easy to implement.
Re:Slack was hacked by ntucker on Friday March 27, 2015 @08:07PM (#9279851)
Hmm, interesting suggestion. We wouldn't want to encrypt the entire row since we want to be able to query on specific columns (version in particular). My only excuse otherwise is that the goal was "disassociate the hashes from the users" not "encrypt the hashes." :) You're right that we could have done more, although whether that makes meeting the original goal a "half measure" depends on your perspective. :)