News for hackers. Stuff that matters.
Re:HTML meet type="pSecure" by tptacek on Monday December 13, 2010 @07:59PM (#2002656)
To summarize a prior discussion:

First, read: http://codahale.com/how-to-safely-store-a-password/

Next, note that rainbow tables don't enter into the Gawker break; Gawker used DES crypt(3) passwords, which can't readily be "rainbow tabled".

Finally, note that if you're going to advocate for a browser authentication change, there are cryptographically sound protocols that have been studied for over a decade that fit the bill far better than half-measures that do nothing but break "rainbow tables". A good one to start reading up on is SRP.

Re:HTML meet type="pSecure" by getsat on Monday December 13, 2010 @08:01PM (#2002660)
Thank you for consistently adding a voice of reason to all these reactionary blog posts. I would go insane were I in your shoes.
Re:HTML meet type="pSecure" by tptacek on Monday December 13, 2010 @08:08PM (#2002680)
No TV and no beer makes Homer something something.

No TV and no beer makes Homer something something.

No TV and no beer makes Homer something something.

Re:HTML meet type="pSecure" by wizardishungry on Monday December 13, 2010 @10:47PM (#2003026)
Does anyone have any more specific information on whether they just called crypt(key,salt) or actually used a larger salt with a call to encrypt()? The crypt() function only takes a 12 bit salt which is marginally helpful against rainbow tables.
Re:HTML meet type="pSecure" by tptacek on Monday December 13, 2010 @11:11PM (#2003091)
Because you're worried about attackers constructing four thousand rainbow tables?
Re:HTML meet type="pSecure" by wizardishungry on Tuesday December 14, 2010 @12:17AM (#2003216)
You wouldn't need 4096 if the choice of the salt was non-random; some versions of Unix used the first 2 characters of the username. What's the space requirement for a single rainbow table?
Re:HTML meet type="pSecure" by tptacek on Tuesday December 14, 2010 @12:21AM (#2003224)
I don't know, but none of what they did was even marginally useful against iterated password crackers, so, change your password.
Re:HTML meet type="pSecure" by andrewjshults on Monday December 13, 2010 @07:33PM (#2002575)
If we take encrypt to mean hash (which is probably what the implementation would most likely mean), this still has the same problem that server-side hashing does. Hashing is fast, GPUs can burn through creating rainbow tables at incredible speed (see http://stacksmashing.net/2010/11/15/cracking-in-the-cloud-am... ). Now if it's talking about implementing bcrypt (http://codahale.com/how-to-safely-store-a-password/) in the browser that would be a real solution, but them the problem becomes adoption (at which point, you basically need to implement it on the server anyways). Plus, users would need to be signaled that this was a safe password box, vs. an unsafe one (which could easily be spoofed by malicious sites).
Re:HTML meet type="pSecure" by rmc on Tuesday December 14, 2010 @11:31AM (#2004658)
It would require nothing more then the browsers to implement it in the same way

Oh dear. That'll never happen (examples: CSS, Html5 video, Javascript), which means this idea is dead in the water.

Re:HTML meet type="pSecure" by btn on Monday December 13, 2010 @07:38PM (#2002590)
Previous discussion (for the article this one is a response to): http://news.ycombinator.com/item?id=2000833
Re:HTML meet type="pSecure" by DjDarkman on Monday December 13, 2010 @10:49PM (#2003034)
I think this should be server side....