Here is an easy way to configure encfs with dropbox that is compatible with boxcryptor. Boxcryptor makes Windows, Mac Android, and IOS applications to assist you in accessing data that you have stored in encfs. They do require that you create your encfs with some specific options: Cipher algorithm: AES, Plaintext or Stream encrypted filenames, No filename initialization vector chaining, No per-file initialization vectors, No external IV chaining, No block MAC headers, No per-block random bytes.

I thought it would be fun to write a CFEngine policy to set it up so here it is. Just install CFEngine 3, configure your settings in the policy file and kick it off with cf-agent -KIf ~/.cfagent/inputs/boxcryptor_dropbox_encfs. (You will need the standard library, and the policy is classed for ubuntu, but it should be easy enough to add support for another distro).

  <div class="gist-meta">
    <a href="" style="float:right;">view raw</a> <a href="" style="float:right;margin-right:10px;color:#666"></a> <a href="">This Gist</a> is brought to you using <a href=""><small>Simple Gist Embed</small></a>.


edit: February 27, 2012 at 2:52 pm

Thanks @highdraw for pointing out the mac installer.