Re: Encrypting / Decrypting with file name encryption
Brought to you by:
thesun
From: Gerald B. <ge...@le...> - 2006-01-13 17:36:26
|
Shachar: Thanks for the quick response. > Actually, Ubuntu is Debian based, which means that the built-in gzip > probably has the relevant patch already. Run "gzip --rsyncable" on your > standard gzip, if it worked, you needn't have bothered. No harm done, > one way or the other. Yup, it is part of the standard gzip. That was a waste of time... > BTW, what version of rsyncrypto does Ubuntu universe carry at the > moment? As Debian Sid carries 0.16, I would have expected Ubuntu > Universe to carry it too. This means you could have just done "apt-get > install rsyncrypto"... :-) > Version 0.13. I really wanted the filename encryption, so I built 0.16 myself. BTW, I have also built and patched argtable. If I specify rsyncrypto with no options, I still get a segfault. As long as I specify an option, (e.g. --help), I no longer get the fault. Thanks for your contribution and help. Much appreciated. Cheers, Gerald On Fri, 2006-13-01 at 15:01 +0200, Shachar Shemesh wrote: > Gerald Boersma wrote: > > >RE: rsycrypto v0.16 compiled for Ubuntu Breezy 5.10, with gzip > >re-compiled with rsync patch as per instructions. > > > > > Actually, Ubuntu is Debian based, which means that the built-in gzip > probably has the relevant patch already. Run "gzip --rsyncable" on your > standard gzip, if it worked, you needn't have bothered. No harm done, > one way or the other. > > BTW, what version of rsyncrypto does Ubuntu universe carry at the > moment? As Debian Sid carries 0.16, I would have expected Ubuntu > Universe to carry it too. This means you could have just done "apt-get > install rsyncrypto"... :-) > > >New file name encryption options are useful. However, I am having > >problems decrypting files where the name has been encrypted. > > > >For example, I encrypt files as follows: > > > >rsyncrypto --name-encrypt=backup/names -c --delete-keys -v -r > >data/personal backup/files/data/personal backup/keys/data/personal > >backup/backup.key > > > >and then try to restore them as follows: > > > >rsyncrypto --name-encrypt=backup/names -v -r -d > >backup/files/data/personal data/personal backup/keys/data/personal > >backup/backup.key > > > >and I get the following error: > > > >Filename translation not found(D983AC51E949450A91A507289505A733): > >Success > > > > > Yes, I get a similar problem when I go through a similar path. > > The directory recursion code in rsyncrypto was greatly complicated as a > result of the file name encryption option. Consider this bug report > acknowledged, and give me some time to try and track it down. Thank you > very much for your report. > > >I get the same error if I try again without specifying a filename for > >the --name-encrypt option (just -n option). > > > > > Yes, the way by which you tell it to encrypt file names does not change > rsyncrypto's behavior when it does. > > >Any ideas? > > > > > I'll get back to you as soon as I can. > > >Thanx, > >Gerald > > > >Gerald Boersma > >Leading Light Consulting Inc. > >Vancouver, BC Canada > > > > > Shachar > |