Re:Plain Text Offenders - Did you just email me back my own ...
by tedunangst on Wednesday April 06, 2011 @11:54AM
(#2415577)
Riddle me this batman: how does one get MD5(username:realm:password) onto the server?
[ Parent
| on HN ]
Re:Plain Text Offenders - Did you just email me back my own ...
by btilly on Wednesday April 06, 2011 @01:03PM
(#2415887)
The normal way is to capture that information in a sign-up page that is served over https. The point of digest authentication is not to replace https for what it is necessary for. It is to allow http and authentication to be used more securely than plain text authentication can be.
Incidentally your snideness is not appreciated. Generally something doesn't get to be a widely implemented RFC without the obvious questions having been asked and answered.
Re:Plain Text Offenders - Did you just email me back my own ...
by tedunangst on Wednesday April 06, 2011 @01:41PM
(#2416049)
Capturing that information in a sign-up page that is served over https sounds an awful lot like the plaintext password is going to reach the server at which point the server will be mathematically capable of displaying it. That happens to defeat the entire purpose of this little subthread.
Re:Plain Text Offenders - Did you just email me back my own ...
by btilly on Wednesday April 06, 2011 @01:52PM
(#2416100)
Your understanding of this subthread is very different from mine. I'm talking about practical security options for practical websites. In that case you don't care about information that was transiently present in the server for a fraction of a second once, you care about information that has been persistently stored.
But if you want such a ridiculous requirement, you can have JavaScript on the signup form that computes the hash on the client and sends it to the server. That form still needs to go over a secure channel (eg https) because the information sent, while not including the plain text password, is sufficient information for a sufficiently motivated attacker to get access.
Re:Plain Text Offenders - Did you just email me back my own ...
by tedunangst on Wednesday April 06, 2011 @04:11PM
(#2416767)
We may actually be in agreement. I don't want such a requirement, it came from here http://news.ycombinator.com/item?id=2414550 and the link I first replied to, http://news.ycombinator.com/item?id=2414859
Your reply, coming where it did in the thread, gave the impression you thought digest auth somehow avoided ever sending a plaintext password to the server.