News for hackers. Stuff that matters.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @02:51PM (#1050942)
The future of secure password handling is feeding browsers javascript so they can attempt to encrypt passwords?

I thought we got the future something like 10 years ago. It was called "TLS".

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @07:33PM (#1051607)
Hm, I guess I always assumed we would end up with SCrypt or something similar running on the client side with a nonce etc so the server never even sees the plaintext password.

Even if that means a new protocol that uses SSL to send the javascript, etc., and we're 15 years away.

Do you think designing a system where the server never sees (or has the opportunity to store) the plaintext password is the way of the future?

(Edit: more emphasis on future, not short term, ambitions.)

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by NateLawson on Friday January 15, 2010 @12:12PM (#1055272)
There is a secure auth mode for SSL called TLS-SRP, RFC 5054. It is quite clean, deriving a session key and authenticating the session in the same number of round trips as a regular TLS handshake. It is secure against dictionary attacks.

http://srp.stanford.edu/whatisit.html

http://www.ietf.org/rfc/rfc5054.txt

Now, if only more browsers would support it.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Tichy on Wednesday January 13, 2010 @09:39PM (#1051783)
What scheme would allow for that, though? Except for public key cryptography?

Seems to me storing hashes and nonces does not work, because without the original password the server can not create new hashes and nonces. So the client would still always send the same thing, which would be equivalent to a password.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by adamsmith on Wednesday January 13, 2010 @10:11PM (#1051823)
yeah, I know what you mean. I do think it's solvable though.

one time during undergrad I was talking with Hal Abelson because there was this big stink about the new research building (Stata center) requiring rfid's to get around. Richard Stallman et al were making a huge ruckus about the privacy implications of not having physical keys.

I mentioned some desired attributes of a protocol to let people in without logging it, and started worrying about the implementation details / feasibility. he said "oh don't worry about implementation. this building has people in it who can implement anything." he had this smirk about him.

so give it some experts and time and they'll figure it out.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by Tichy on Thursday January 14, 2010 @04:52AM (#1052273)
Can they prove P = NP or P != NP? Some things just aren't solvable.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @07:36PM (#1051612)
I'm sorry. I thought you mean Javascript challenge-response, which is a very common and very evil suggestion as a way to get SSL-like security without having to do SSL.

You mean things like 1password. That's fine. I use Keychain and head /dev/random | md5 for any password I don't have to remember.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by jacoblyles on Wednesday January 13, 2010 @05:04PM (#1051286)
Could you elaborate on this for us security newbs? Maybe expand the acronym?

I know enough to encrypt my password storage, but I never thought to encrypt passwords client-side. I'm interested in knowing what are best practices.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by swolchok on Wednesday January 13, 2010 @05:16PM (#1051325)
TLS = SSL. HTTPS = HTTP over SSL.