Shachar,

Thanks for helping me.

I am using the MSI from sourceforge, the gzip is in the same directory as
rsyncrypto.

Here are the other answers:

A cannot decrypt files encrypted on B.
B can decrypt files encrypted on A.

The output is still the same, even with using the --gzip option on the
encrypt and decrypt command.

===== BEGIN COMMAND AND OUTPUT ======
"D:\test\RsynCrypto\RsynCrypto.exe" --gzip="D:\test\RsynCrypto\gzip.exe"
 "D:\Test\ClearFiles\testfile.pdf" "D:\Test\EncryptedFiles\testfile.pdf"
"D:\Test\keys\testfile.pdf" "D:\Test\Certificate\Cert.crt"

"D:\test\RsynCrypto\RsynCrypto.exe" -d --gzip="D:\test\RsynCrypto\gzip.exe"
"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 ======

Regards,

Jan

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Shachar
Shemesh
Verzonden: donderdag 15 mei 2008 22:42
Aan: Jan Alphenaar
CC: 'L-rsyncrypto'
Onderwerp: Re: Rsyncrypto using wrong gzip ?

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to