Daniel's Blog
27 Apr/10 0

Encrypt data in dropbox transparent with encfs

Dropbox is already a great tool. After installation, you have a folder on the local file system, which automatically backs up all files online and synchronized. If you have multiple computers, the files appear on every computer. This is very handy, for example, important documents on any computer to have available, or configuration files, for example, how to synchronize the e-mail address book between computers. However, one should be aware that all information in the course Dropbox folder on a hard drive somewhere in the "cloud" (have to). Dropbox gives true that they, the data of the users themselves can not see because they are encrypted with the password of the user. Still, I always had an uneasy feeling about it to "drop boxes" "important" files. With the help of encfs but you can create an encrypted area inside the drop box that is completely transparent encrypted and decrypted. A good feeling, right?

Come on then once. First you need two new directories. One is a directory in the drop box that is encrypted, and later to another directory in which you can mount decrypts the encrypted directory later:

  mkdir / home / user / Dropbox / enc
 mkdir / home / user / dec

Then, they prepare the encrypted directory for the mount and use it directly:

  sudo apt-get install encfs
 encfs / home / user / Dropbox / enc / home / user / dec

Effective immediately, all files that are stored in / home / user / dec, encrypted packed into the drop box.

Files in the directories look like this afterwards:

 # / Home / user / dec

 ww-ww-20: 39:28 ~ / dec-> ls-la
 total of 2320
 drwxrwxr-x 13 ww ww 4096 2010-12-18 20:39.
 drwxr-xr-x 4096 2010-12-18 03:39 70 ww ww ..
 -Rw-rw-r - 1 ww ww 13 2010-12-18 20:39 meine_geheime_datei

 ww-ww-20: 40:33 ~ / dec -> cat / meine_geheime_datei.
 SUPER SECRET

 # / Home / user / Dropbox / enc

 ww-ww-20: 39:28 ~ / Dropbox/enc-> ls-la
 -Rw-rw-r - 1 ww ww-29 2010-12-18 20:39 zKcZI9p9vmR60OMvDJPKeZPnGyRByRWVRUKyAOr4sRTVu

 ww-ww-20: 42:32 ~ / Dropbox / enc -> cat ./zKcZI9p9vmR60OMvDJPKeZPnGyRByRWVRUKyAOr4sRTVu- 

 Z
     > Oq0 "q
                    

Mount the process can be automated at login with a little one-liner:

  # / Bin / bash
 echo "mypassword" | encfs-S / home / user / Dropbox / emc / home / user / dec

A free Dropbox with 2.25 GB of memory you get here .

Comments (0) Trackbacks (1)

    Leave a comment

    Please copy the string 556qst to the field below: