mrpdaemon / encdroid

Encdroid is an Android application for accessing EncFS volumes on cloud storage
GNU General Public License v3.0
86 stars 20 forks source link

Automatically sync device folders to a Dropbox volume #24

Open oernii opened 11 years ago

oernii commented 11 years ago

Please add reversible encryption, so that I can sync my DCIM folder on dropbox encrypted.

mrpdaemon commented 11 years ago

Can you explain what you mean exactly with "reversible encryption"? Do you mean that you'd like to sync an existing folder on your device (DCIM etc.) into Dropbox? You can already do this with Encdroid - choose "Import Files" from the options menu and select the DCIM folder.

I guess you'd like for the folder to keep getting sync'd right? We could introduce a concept of "Sync folders" that sync between a folder on the device and a folder in a given volume so the sync is transparent. Cool feature idea :+1:

oernii commented 11 years ago

It would allow android to retain CLEAR text files (DCIM so that camera & gallery can access them WITHOUT encfs) and would create a new encrypted folder (virtual - no space on SD needed) which would sync to dropbox.

man encfs: --reverse Normally EncFS provides a plaintext view of data on demand. Normally it stores enciphered data and displays plaintext data. With --reverse it takes as source plaintext data and produces enciphered data on-demand. This can be useful for creating remote encrypted backups, where you do not wish to keep the local files unencrypted.

       For example, the following would create an encrypted view in /tmp/crypt-view.

           encfs --reverse /home/me /tmp/crypt-view

       You could then copy the /tmp/crypt-view directory in order to have a copy of the encrypted data.  You must also keep a copy of the file /home/me/.encfs5 which contains the
       filesystem information.  Together, the two can be used to reproduce the unencrypted data:

           ENCFS5_CONFIG=/home/me/.encfs5 encfs /tmp/crypt-view /tmp/plain-view

       Now /tmp/plain-view contains the same data as /home/me

       Note that --reverse mode only works with limited configuration options, so many settings may be disabled when used.
mrpdaemon commented 11 years ago

Got it. Sounds like a useful feature indeed. Will put it on the TODO list.

smessmer commented 10 years ago

This feature sounds great. Any progress on this?

mrpdaemon commented 10 years ago

No progress. Patches are welcome :)