News for hackers. Stuff that matters.
Re:Rclone: rsync for cloud storage by SEJeff on Wednesday August 31, 2016 @12:40PM (#12399594)
FWIW: tarsnap is also rsync for cloud storage and Colin (guy who founded and runs tarsnap) also has won a putnam award for his work in mathematics and crypto.

http://www.tarsnap.com/

Re:Rclone: rsync for cloud storage by dsacco on Wednesday August 31, 2016 @01:04PM (#12399784)
>> Colin (guy who founded and runs tarsnap) also has won a putnam award for his work in mathematics and crypto.

Colin won the Putnam as an undergraduate student. The Putnam award is not a mathematics research award like the Fields Medal or the Abel Prize. It's a mathematics competition. As such, Colin didn't win the award for any particular work.

It's still quite impressive though. I would say Colin's work developing scrypt has more applicability to cryptography than his Putnam award.

Re:Rclone: rsync for cloud storage by SEJeff on Wednesday August 31, 2016 @01:21PM (#12399926)
Sorry you're entirely right. I just can't get over how unbelievably amazing this is: https://news.ycombinator.com/item?id=35079

One of the best comebacks in HN history.

Re:Rclone: rsync for cloud storage by jdeibele on Thursday September 01, 2016 @11:52AM (#12406305)
Thanks for the reference. Interesting to see Drew Houston popping in because he was just starting getdropbox.com
Re:Rclone: rsync for cloud storage by tomcam on Wednesday August 31, 2016 @09:52PM (#12402699)
...and SNAP! pg was dead right. Didn't read that thread at the time. Thank you.
Re:Rclone: rsync for cloud storage by chops on Wednesday August 31, 2016 @04:42PM (#12401311)
Oh man, I remember that thread when it happened. That was something else.

A glorious exchange.

Re:Rclone: rsync for cloud storage by _koyz on Wednesday August 31, 2016 @01:04PM (#12399792)
I don't think they're comparable. Rclone is rsync for a variety of cloud storages while tarsnap is rsync for the tarsnap service.

That's like saying the Google Drive client or the Dropbox client are "rsync for cloud storage" just because they incrementally add changes to a cloud service.

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.
Re:Rclone: rsync for cloud storage by obituary_latte on Wednesday August 31, 2016 @12:45PM (#12399647)
+1 Been using tarsnap for over a year now and couldn't be happier.
Re:Rclone: rsync for cloud storage by cyphar on Wednesday August 31, 2016 @07:14PM (#12402156)
Unfortunately, tarsnap is not free software. :/
Re:Rclone: rsync for cloud storage by radioact1ve on Thursday September 01, 2016 @07:50AM (#12404505)
Free as in beer or freedom?

FWIW, the client is open source: https://github.com/Tarsnap/tarsnap

Re:Rclone: rsync for cloud storage by DeltaWhy on Thursday September 01, 2016 @02:08PM (#12407546)
It's visible-source, not open source. https://github.com/Tarsnap/tarsnap/blob/master/COPYING
Re:Rclone: rsync for cloud storage by cyphar on Thursday September 01, 2016 @08:28PM (#12409878)
It is not free as in freedom, and it's not even "open source". The license does not allow modification, nor use outside using it for tarsnap's backup service.