News for hackers. Stuff that matters.
Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by cperciva on Wednesday March 24, 2010 @07:35PM (#1217214)
a partial solution to the "is the remote side secure?" problem

No. Not at all. Reusing CBC IVs is not a solution to anything.

Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by papaf on Thursday March 25, 2010 @06:31AM (#1218073)
The point of reusing the IV is that identical blocks of data encrypt identically. That's the information that is leaked. That's the behaviour required by rsync to efficiently transfer changes.

Is it really so bad?

Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by cperciva on Thursday March 25, 2010 @07:41AM (#1218186)
Depending on your attack model, yes, it really can be that bad.

Much better to do your deduplication on the plaintext.

Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by hga on Thursday March 25, 2010 @12:45PM (#1218795)
But this is not trying to address a duplication problem as far as I can see (see below):

E.g. let's say I have the following blocks of data:

A B C D E F...

And I then change C to C', now having:

A B C' D E F...

With the rsynccrypto approach the ciphertext of D E and F... will be unchanged, allowing rsync to do the right thing (not retransmit everything after C').

Yeah, this leaks info, but it's a compromise between a making the result easier to break and conserving transmission costs (which is very much an issue for me, being stuck behind a slow upstream residential ADSL link).

My question, which I have most definately not answered to my complete satisfaction, is "has the cryptosystem been compromised to the point I might as well have not bothered?"

Just how easy will the know leaks make a attack feasible? How expensive would be such an attack be? I.e. I'm not concerned about the NSA, a lesser degree of security is OK.

As for deduplication, I don't see how it can help; could you be more specific?

(And thanks a lot for taking this issue seriously, it is something I'm concerned about and don't have a sufficient background to be all that confident about my judgment.)

Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by hga on Wednesday March 24, 2010 @09:33PM (#1217436)
Is reusing IVs that bad? Does that leak enough information to make the result useless?
Re:Easy Automated Snapshot-Style Backups with Linux and Rsync by cperciva on Thursday March 25, 2010 @07:39AM (#1218182)
Depends what your attack model is. But it opens up a lot of new attacks.