News for hackers. Stuff that matters.
Re:Rclone: rsync for cloud storage by lqdc13 on Wednesday August 31, 2016 @12:52PM (#12399706)
I thought tarsnap is completely different in that it is in a way its own cloud storage that uses S3 as the backend?

As in it encrypts your files, dedups and puts them on S3?

Re:Rclone: rsync for cloud storage by DigitalJack on Wednesday August 31, 2016 @02:12PM (#12400271)
Wouldn't you have to de-dupe prior to encryption? Sorry if I'm being pedantic. I would just not expect anything to deduplicate once it's encrypted.
Re:Rclone: rsync for cloud storage by yorwba on Wednesday August 31, 2016 @03:18PM (#12400737)
Why not? Encrypting two identical files with the same key gives you two identical encrypted files.
Re:Rclone: rsync for cloud storage by RachelF on Wednesday August 31, 2016 @06:30PM (#12401962)
>two identical encrypted files.

Good practice for file encryption is to pad some random bytes to the start of a file. This makes known cyphertext attacks much harder.

So encrypting identical files should result in different files and also slightly different length files.

Re:Rclone: rsync for cloud storage by diggs on Wednesday August 31, 2016 @03:40PM (#12400896)
How about if a single byte changes? Now the encrypted output looks 100% unique, and you have to treat it as an entirely new file. You lose the ability to do diffs on a file by file basis or proper deduplication across all files.
Re:Rclone: rsync for cloud storage by quickben on Wednesday August 31, 2016 @04:00PM (#12401049)
That's defeating the purpose of encrypting them.

If you don't CBC, wherever is on the cloud side will have two files with one block off. Let's assume the file is a txt file. For smaller cipher block sizes, it is becoming very easy to guess your encryption key.

Tldr, you want any attacker to lose any diff ability on your encrypted data.

Re:Rclone: rsync for cloud storage by diggs on Wednesday August 31, 2016 @04:47PM (#12401346)
That depends on how you're storing the files. I was really just trying to highlight that for deduplication across files you need to deduplicate before you encrypt.
Re:Rclone: rsync for cloud storage by Dylan16807 on Thursday September 01, 2016 @03:40AM (#12403635)
Guess the encryption key? That shouldn't be possible, even if you use something as terrible as ECB.