News for hackers. Stuff that matters.
Re:How To Safely Store A Password by frisco on Tuesday December 14, 2010 @12:52PM (#2004990)
Yes, this is consensus. "Salting" isn't actually a real security practice. See: http://chargen.matasano.com/chargen/2007/9/7/enough-with-the...
Re:How To Safely Store A Password by aidenn0 on Tuesday December 14, 2010 @01:07PM (#2005052)
That article actually states that salting is a real security practice, is a necessity, and that it's been in UNIX since 1976,
Re:How To Safely Store A Password by tptacek on Tuesday December 14, 2010 @01:45PM (#2005216)
He may be saying that because I've been making fun of people who use the word "salt" (in most other situations, crypto people would call that a "nonce"); I have in the past made the point that real crypto people never say "salt".

But then Eli Biham used the term extensively in his HAIFA framework and I lost the argument. I'll still make fun of the word (salt! smoked salt! peanut salt! hah!), but I can't say no crypto people use it. I wish they wouldn't, though.

Re:How To Safely Store A Password by eru on Tuesday December 14, 2010 @03:38PM (#2005649)
That argument sounds like the German balloon fliers, who insist that they "fahren" (drive) the balloon and don't "fliegen" (fly) it.
Re:How To Safely Store A Password by frisco on Tuesday December 14, 2010 @01:28PM (#2005146)
I was more talking about bcrypt being consensus with that post. Salting slows down cracking attempts by a factor of N where N is the length of the hash; md5 and sha1 are so fast that you shouldn't be banking on salting to protect you in 2010. Also, you should assume that if an attacker has your database (with salts), they also have your code, which tells them exactly how the salt was applied. In that case, salting doesn't slow you down at all.
Re:How To Safely Store A Password by jhchen on Tuesday December 14, 2010 @01:49PM (#2005235)
But you're talking about defending against brute force attacks? Salting's strength is in defending against rainbow tables. It seems the best policy at this point is to use both as they defend against different things and are not mutually exclusive.
Re:How To Safely Store A Password by bostonvaulter2 on Tuesday December 14, 2010 @01:47PM (#2005225)
I think the point is that you should use bcrypt and salt at the same time.
Re:How To Safely Store A Password by tptacek on Tuesday December 14, 2010 @02:04PM (#2005284)
You don't need to do anything like that; bcrypt does all this stuff for you. Don't salt bcrypt.
Re:How To Safely Store A Password by youngian on Tuesday December 14, 2010 @06:30PM (#2006209)
I think people would be a lot less confused if you said this first. Say "Don't salt bcrypt, bcrypt salts for you" and you'll have to explain yourself less.