3 ms·
Unless 95% of stunnel's code is in non-security-critical code paths, it still has considerably more security-critical code than stud.
by cperciva 15y ago
Unless 95% of stunnel's code is in non-security-critical code paths, it still has considerably more security-critical code than stud.
- tptacek 15y agoI've read both stunnel and stud and 95% might ... just ... be on the high side of a reasonable estimate there. Again, I'm saying: stud <-> stunnel is not an apples-apples comparison. The reality here, and I think you should just come out and say it, is that the rationale behind spiped is that you don't trust SSL/TLS period. What's the deal with the per-message padding scheme here? Is this a tradeoff against rekeying?
- cperciva 15y agoThe reality here, and I think you should just come out and say it, is that the rationale behind spiped is that you don't trust SSL/TLS period. That's part of it, sure. But SSL/TLS also doesn't provide client authentication (unless you use client SSL keys, which is absolutely guaranteed to have security holes given that nobody ever uses them). What's the deal with the per-message padding scheme here? 1. Makes the code much simpler and less error-prone (no need to read variable-length records from the network). 2. Cuts down on information leakage. I'm planning on using this for kivaloo, which uses variable-length records -- I don't want to expose the lengths of account names or suchlike.
- tptacek 15y agoClient SSL certificates are very common in non-web TLS settings.