[tomboy-list] Encrypted notes with encfs and Ubuntu One
andreas1234567 at hotmail.com
Wed May 2 12:56:36 PDT 2012
> [jaredljennings at gmail.com]
> Yup, I use Ubuntu One and it works very well. Although how does that
> help here. Your note when sent to UO would be decrypted when leaving
> your drive and then sent to UO in a decrypted format.
No Jared, I think you misunderstand. This is encryption on a file
system level, not on disk level. Only encrypted data is sent to and
retrieved from the cloud.
My data (i.e. Tomboy notes) is stored unencrypted in one folder
(e.g. ~/Cloud/). This folder is then "mirrored" by encfs to a second
folder (e.g. ~/Ubuntu\ One/Clouded). Encfs makes sure that the
"Clouded" directory tree always represents a 1:1 copy of the same
files with one important property: Each file in "Cloud" has a
corresponding encrypted file in "Clouded".
The "Clouded" directory is the *only* of the two directories above to
be sync'ed with the cloud service (Ubuntu One in this example). This
ensures only encrypted data is sent to and retrieved from the cloud.
I have included the below to illustrate the setup. In this example I
pull encrypted data from the cloud and decrypt it:
# List of encrypted files - sync'ed to the cloud
find /home/aff/Ubuntu\ One/Clouded/ | head
# Directory "Cloud" initially empty
$ find ~/Cloud/
# Decrypt the encrypted data
$ encfs -o nonempty ~/Ubuntu\ One/Clouded ~/Cloud
# List of decrypted files
$ find ~/Cloud/ | head
More information about the Tomboy-list