Re: Encrypting / Decrypting with file name encryption
Brought to you by:
thesun
From: Shachar S. <rsy...@sh...> - 2006-01-13 13:01:20
|
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 -- Shachar Shemesh Lingnu Open Source Consulting ltd. Have you backed up today's work? http://www.lingnu.com/backup.html |