Re: [Encfs-users] syncing ciphertexts

2014-11-23 Thread Anthony Thyssen
On Thu, 20 Nov 2014 20:28:41 -0500 Matei David wrote: | Hi, | | I'm interested in keeping two encfs folders in sync. One option is to | run rsync/unison between the plaintext folders. I would like to have | the additional option of performing sync on the ciphertexts. | | >From the tests that I r

Re: [Encfs-users] syncing ciphertexts

2014-11-21 Thread Matei David
Can you look at the "001" line, at columns 2&4? So: uniqueIV=0 chainedNameIV=0 externalIVChaining=1 In the plaintext folder view we have 4 identical files: file-a file-b dir/file-a dir/file-b The all contain "hello\n". In the ciphertext view, running md5sum on all 4 files I see: 3fee6e6aa7ad9187

Re: [Encfs-users] syncing ciphertexts

2014-11-21 Thread Jakob Unterwurzacher
Hi Matei, have you taken a look at this? https://github.com/vgough/encfs/blob/master/encfs/FileUtils.cpp#L847 On Nov 21, 2014 6:22 PM, "Matei David" wrote: > On Thu, 20 Nov 2014 17:47:59 -0800 > "Mark R. Pariente" > wrote: > > > On Thu, Nov 20, 2014 at 5:28 PM, Matei David > > wrote: > > > Hi,

Re: [Encfs-users] syncing ciphertexts

2014-11-21 Thread Matei David
On Thu, 20 Nov 2014 17:47:59 -0800 "Mark R. Pariente" wrote: > On Thu, Nov 20, 2014 at 5:28 PM, Matei David > wrote: > > Hi, > > > > I'm interested in keeping two encfs folders in sync. One option is > > to run rsync/unison between the plaintext folders. I would like to > > have the additional o

Re: [Encfs-users] syncing ciphertexts

2014-11-21 Thread Jakob Unterwurzacher
Your observation is correct, however, this does not prevent you from syncing the ciphertext files. The ciphertext carries an 8 byte random header, which is why the ciphertext looks completely different. If you copy a ciphertext, you copy the header with it, and it will decrypt to identical plaintex

Re: [Encfs-users] syncing ciphertexts

2014-11-20 Thread Mark R. Pariente
On Thu, Nov 20, 2014 at 5:28 PM, Matei David wrote: > Hi, > > I'm interested in keeping two encfs folders in sync. One option is to > run rsync/unison between the plaintext folders. I would like to have > the additional option of performing sync on the ciphertexts. > > >From the tests that I ran,