Re: Rsyncrypto using wrong gzip ?
Brought to you by:
thesun
From: Shachar S. <sh...@sh...> - 2008-05-15 20:41:57
|
Jan Alphenaar wrote: > > Hi Shachar, > > > > Today I ran into different behavior for rsyncrypto on two different > machines (both WinXP). I have set up the following structure on both > machines. > > > > D:\Test\Certificate > > D:\Test\ClearFiles > > D:\Test\EncryptedFiles > > D:\Test\Keys > > D:\Test\Rsyncrypto > I'm missing the gzip file. Is this compiled from source or an installation from the MSI on sourceforge? > > > > > D:\Test>"D:\test\RsynCrypto\RsynCrypto.exe" -d > "D:\Test\EncryptedFiles\testfile.pdf" > "D:\Test\ClearFiles\testfile.pdf" "D:\Test\keys\testfile.pdf" > "D:\Test\Certificate\Cert.key" > > Error in encrypted stream: > > > > gzip: stdin: unexpected end of file > > ===== END COMMAND AND OUTPUT ====== > > > > The size of the original cleartext file testfile.pdf is 2014KB, the > encrypted version of it is 1573KB. Looks oke for me… After executing > the decryption command, only a part of the file is decrypted, since > the size of the decrypted file is 27KB (because it raises an error > message). Obviously something is wrong here. > > > > My guess is that rsyncrypto is using another (nromal) gzip, which is > installed in a different location. Can this be the case? > Doesn't seem likely. > > > > Any other feedback is welcome. > Lets call the machine on which everything is working "A", and the other machine "B". Can A decrypt files created on B? My guess would be "no" Can B decrypt files created on A? My guess would be "yes" Please try the same procedure on B again, but this time using the "--gzip" option to direct rsyncrypto to the specific gzip that came with the installation. Please let me know whether this makes any difference. Shachar |