News for hackers. Stuff that matters.
Re:Tarsnap critical security bug by tptacek on Tuesday January 18, 2011 @07:28PM (#2118038)
I think it's a bad idea to recommend the OTR protocol to people looking for a simple encrypted transport (or simple encrypted record storage). How do you judge whether the guarantees TLS offers are "needed" or not?
Re:Tarsnap critical security bug by eru on Tuesday January 18, 2011 @07:56PM (#2118105)
That judgment is partly outside the more mechanical parts of cryptography. You have to see what your application domain demands.

OTR is just the first example I could think of, that gives different guarantees than most normal cryptosystems. I don't particularly recommend it for anything apart from instant messaging. And I wouldn't recommend implementing your own.

If I speak to you in private (and we know each other), you can be sure you are speaking to me, but you won't be able to proof to any third party anything I said. OTR can give you something like that. PGP can't.

For most application you will be well served with PGP or TLS. But be aware of what baggage they bring. For some areas losing deniability via PGP can be worse than plain text.

Re:Tarsnap critical security bug by tptacek on Tuesday January 18, 2011 @09:46PM (#2118358)
This is a counterfeit argument. PGP loses "deniability" (and "forward secrecy") if by PGP you mean "the PGP user interface". But if what you mean is simply "the PGP cryptosystem" and "the PGP message format of packets and bulk encryption and signatures", then you can grant your system most any property OTR gives you.

This is a moot point, because most systems would never care enough to intricately position all their features just-so to compose OTR-like features out of PGP primitives. What they need is to be able to encrypt anything without implementing trivially exploitable crypto vulnerabilities that were discovered and solved decades ago.

This is a textbook case of everyone's good being strangled by someone's opinion of the perfect.

Re:Tarsnap critical security bug by eru on Wednesday January 19, 2011 @02:40AM (#2119050)
I don't disagree with you. And OTR is just one example, and may even be a straw-man by now. Just be aware that there are other valid choices for cryptosystems, while you still don't have to roll your own.
Re:Tarsnap critical security bug by tptacek on Wednesday January 19, 2011 @08:03AM (#2119606)
Example?
Re:Tarsnap critical security bug by eru on Thursday January 20, 2011 @12:18PM (#2124327)
Of applications or cryptosystems?
Re:Tarsnap critical security bug by tptacek on Thursday January 20, 2011 @11:55PM (#2126503)
Cryptosystems.
Re:Tarsnap critical security bug by wolfhumble on Tuesday January 18, 2011 @08:04PM (#2118120)
Just curious: For a similar system to tarsnap where local data is encrypted via pgp and stored on a remote system, what extra benefit is there to use TLS for the data transfer/data i motion?