News for hackers. Stuff that matters.
Re:Cryptographic Right Answers by cperciva on Thursday June 11, 2009 @03:16PM (#653396)
You should be clearer with your recommendation. If you can relax the constraint that the protocol has to work between strangers, then SSL offers functionality you don't need, and the actual interface to SSL has moving parts that might hurt you.

I specifically mentioned client-server applications, didn't I? If you are handing out client code which talks to a server you run, you don't need the protocol to work between strangers.

Re:Cryptographic Right Answers by tptacek on Thursday June 11, 2009 @03:24PM (#653410)
Except for the part where you hand out the code and the certificate.
Re:Cryptographic Right Answers by cperciva on Thursday June 11, 2009 @03:31PM (#653418)
You need a secure way of handing out client code, sure. There's no way to get around that. But once you've figured out how to do that, you might as well include the server public key.

If an attacker can mangle the server public key which you're distributing with the client code, they can mangle the client code, at which point you've already lost.

Re:Cryptographic Right Answers by tptacek on Thursday June 11, 2009 @03:41PM (#653437)
So you draw an imaginary line around the parts of your application that have simple security requirements, make recommendations about the stuff inside the lines, ignore the stuff outside the lines, and berate the technologies that deal with the stuff outside the lines.

Just so we're clear.