Hi Anthony,
Thanks a lot for the help. This looks very promising. So if I understand
correctly I could do the following:
on laptop (schematically):
encfs --reverse ~/Documents ~/enc_tmp
unison ~/enc_tmp /server/laptop_enc
Which would make an encrypted copy of my homedir and sync it to the server.
Then on my desktop I could run:
on desktop:
encfs /server/laptop_enc ~/laptop_tmp
unison ~/laptop_tmp ~/Documents
The first line would mount the laptop's data in laptop_tmp and the second
line would sync that would the desktop data.
But to do this I need to get the encryption keys onto the desktop. The
encfs manpage says you need to copy the keys over and use a command like:
ENCFS5_CONFIG=/home/me/.encfs5 encfs /tmp/crypt-view /tmp/plain-view
But how often does this directory have to be synced? On each update? Is
it just updated when the encfs mount is first made or on every change? If
so the later then I would somehow have to separately sync that directory
between the desktop and laptop as well.
Btw while at present I'm trying to just sync unencrypted directories I
might eventually want to just encrypt both laptop and desktop and then just
sync the encrypted dirs using unison. Is there any reason that won't work?
thanks
On Mon, Feb 27, 2012 at 5:22 AM, Anthony Thyssen
<a.thys...@griffith.edu.au>wrote:
> On Mon, 27 Feb 2012 00:42:47 +0100
> Prefer Anon <my.m...@gmail.com> wrote:
> | Hi,
> |
> | I've found a related post in this mailing list in the past but it doesn't
> | completely clear my confusion:
> |
> | http://sourceforge.net/mailarchive/message.php?msg_id=1321634
> |
> | I have a desktop and a laptop that I would like to sync (my home dir
> which
> | is ~8 gb large) using an ssh-accessible server. I only want my files to
> | appear on the server in encrypted form. I am considering some different
> | options and am hoping someone with some familiarity with encfs can tell
> me
> | which one makes more sense.
> |
> | First just to clarify I am somewhat hesitant to store my data directly on
> | an encfs mount since I want to be able to check what's happening before
> it
> | gets synced. Also I'm worried that if all my data is in encfs then if I
> | ever login and forget to mount it some programs will freak out, etc...
> |
> As your primary files are not going to be encrypted, I would mount
> your home as a reverse encrypted directory, then rsync (or otherwise)
> that to the remote server.
>
> That would produce the least amount of traffic for minor changes to just
> a few files, and the files are never seen in an unencrypted on the remote
> host. A very important aspect for this type of service.
>
> This should also work well for a cloud computing sync service.
> as long as the cloud 'sync' is only performed AFTER the reverse
> encrypted directory is setup.
>
>
>
> Anthony Thyssen ( System Programmer ) <a.thys...@griffith.edu.au>
> --------------------------------------------------------------------------
> "Yeap, I died on level twenty when my pet dragon caught a cold!"
> --------------------------------------------------------------------------
> Anthony's Castle http://www.ict.griffith.edu.au/anthony/
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Encfs-users mailing list
> Encfs-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/encfs-users
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users