News for hackers. Stuff that matters.
Re:Insecurity in the Jungle (disk) by dchest on Friday June 03, 2011 @11:52AM (#2616803)
Apart from Tarsnap, maybe Duplicity http://duplicity.nongnu.org?
Re:Insecurity in the Jungle (disk) by cperciva on Friday June 03, 2011 @11:54AM (#2616820)
Agreed. There are some things I dislike about duplicity (e.g., its reliance upon GPG) but it's probably what I would use if I couldn't use Tarsnap.
Re:Insecurity in the Jungle (disk) by click170 on Friday June 03, 2011 @01:39PM (#2617247)
What makes you shy away from backup apps that rely on GPG?
Re:Insecurity in the Jungle (disk) by tptacek on Friday June 03, 2011 @01:46PM (#2617271)
Cryptographers hate GPG. GPG is ugly as sin†. Unfortunately (and I mean that only with a little bit of snark), GPG mostly still works, in the sense of standing up to active, informed attackers with modern techniques.

† For instance, look how it handles message integrity.

Re:Insecurity in the Jungle (disk) by cperciva on Friday June 03, 2011 @01:51PM (#2617285)
Your definition of "mostly still works" is "it's secure as long as you ignore the vulnerabilities people keep on finding"?
Re:Insecurity in the Jungle (disk) by tptacek on Friday June 03, 2011 @01:52PM (#2617292)
This is a slippery slope argument that ends in you arguing that the best tested cryptosystem in common use (TLS) is also insecure. All cryptosystems have vulnerabilities; the question is, how workable is the system after those flaws are fixed.
Re:Insecurity in the Jungle (disk) by cperciva on Friday June 03, 2011 @01:58PM (#2617323)
Well, yes. I also think SSL is too complicated for people to get right. ;-)
Re:Insecurity in the Jungle (disk) by tptacek on Friday June 03, 2011 @02:10PM (#2617385)
For the record, I respect the critiques practitioners have of GPG. Unfortunately, their alternatives tend to be ad-hoc. There should be a clean, simple, GPG-like standard, perhaps based on ECC and AE cipher constructions, to replace GPG. But until that happens, in the choice between ugly and workable vs. simple and fragile, ugly and workable is the right choice for most people.

As always I think you drastically underestimate how dangerous this stuff is because you've dedicated your career to it, while normal implementors --- even crypto enthusiasts (look at Tor and SSH) --- have little of the nuance required to get it right.

I like the fundamentals of TLS more than you do; I don't think it's a bad or needlessly complex protocol (except maybe session resumption). I see that reasonable people can differ on that point. But, very importantly, TLS is also a vehicle for collecting and implementing the best known methods in cryptography. I think you tend to overlook that.

As always, my opinions are as a software security practitioner and not as a cryptographer, since I am not one.

Re:Insecurity in the Jungle (disk) by sigil on Friday June 03, 2011 @02:43PM (#2617520)
It sounds like Colin is taking issue with openssl the implementation, while you're defending TLS the protocol. In that case, I agree with you both.

(As an aside, it's great to see two of my favorite HN commenters in the security field engaged in conversation at this level.)

Re:Insecurity in the Jungle (disk) by tptacek on Friday June 03, 2011 @02:49PM (#2617539)
The appearance and track record† of the code in OpenSSL does the credibility of TLS no favors, and it is totally understandable why someone who had to deal with software security for a platform that ships and depends on OpenSSL would become allergic to it.

But, two responses to that:

* First, what Joel Spolsky says about rewrites. Sometimes code is ugly for a reason. Clean rewrites of OpenSSL will inevitably introduce bugs. Introducing bugs in SSL†† implementations is perilous.

* Second, there are mature alternatives to OpenSSL. For instance, most? browsers don't use it.

† In fairness, that's because OpenSSL dates back to a time when nobody was getting C software security even close to right.

†† I use TLS and SSL interchangeably, which is a foible I should work on correcting, but the difference doesn't matter much here.

Re:Insecurity in the Jungle (disk) by euroclydon on Friday June 03, 2011 @02:34PM (#2617485)
Hey, Since you mentioned TLS/SSL: I can't seem to find an answer to this question: Does my browser or system, need to contact the CA each time it encounters a new SSL Cert, or is having the root certificate enough?
Re:Insecurity in the Jungle (disk) by tptacek on Friday June 03, 2011 @02:44PM (#2617527)
Your browser does not need to contact a CA to verify the signature in an SSL certificate, but may in some cases want to contact the CA to check for revocation.
Re:Insecurity in the Jungle (disk) by cperciva on Friday June 03, 2011 @01:45PM (#2617267)
GPG is big and complicated. The more code you have the more likely it is that you'll have security vulnerabilities. (This is especially true for code like GPG which reads attacker-provided inputs, since it allows the attacker to pick which of many code paths get invoked.)
Re:Insecurity in the Jungle (disk) by chirayuk on Friday June 03, 2011 @01:18PM (#2617166)
SpiderOak? https://spideroak.com/

If TarSnap had iPhone, etc. versions, I would use it for everything. (the permission specific keys are just awesome.)