3 ms·
My advice is IMO much simpler. Feel free to write your own crypto code that uses a SSL connection. It might not be secure on it's own, but in the small windows
by Retric 13y ago
My advice is IMO much simpler. Feel free to write your own crypto code that uses a SSL connection. It might not be secure on it's own, but in the small windows where SSL happens to be broken you have a little extra security and even if you just do XOR your still basically safe in the first place.
- tptacek 13y agoYou can actually end up less secure by layering additional crypto inside of SSL, particularly if (as is likely, given what most people are afraid of in SSL) your crypto involves endpoint authentication. What Colin wants to say in this document but couldn't at the time (because it didn't exist yet) and won't now (because of false modesty) is that he thinks you should use spiped instead of TLS. If he'd say that, I'd agree that was a reasonable choice.
- Retric 13y agoDo you have an example where SSL would have been secure if they had not added some other encryption scheme that broke something?
- tptacek 13y agoSure: more than one product has used SSL with SRP inside of it to replace the certificate auth, and ended up with auth bypass bugs because they didn't check parameters properly.
- Retric 13y agoreplace the certificate auth From what your saying that SSL layer was not secure on it's own. Which is a valid concern, but not what I am talking about.
- cperciva 13y agoNo, don't use spiped. As awesome as it is, spiped is symmetric -- it's designed for "I control two servers and want them to talk to each other securely", not for "I want to publish code which people can use to talk to my server". I've been considering writing aspiped though.
- pja 13y agoNaCl? http://nacl.cr.yp.to/ http://nacl.cr.yp.to/