This software enables you to transparently encrypt your Dropbox folder on your PC. It also supports sharing files with other Dropbox users, while still encrypting the shared data.
Warning: This is just proof-of-concept code and should NOT be used in production environments
The associated master's thesis can be found here: http://sar.informatik.hu-berlin.de/research/publications/SAR-PR-2016-01/SAR-PR-2016-01_.pdf
- Debian Jessie (32 Bit)
To build the software, execute the following commands:
git clone https://github.com/eriknellessen/encrypting-cloud-storages
cd encrypting-cloud-storages/build
cmake ..
make install
This needs to be done only once. It must be done before starting the transparent client-side encryption or Dropbox.
- Create user Dropbox:
adduser Dropbox
- Install Dropbox (download *.deb from here)
- Start Dropbox as normal user, so the files are installed. When it asks for your e-mail, close dropbox.
- Grant user Dropbox write access to your home directory, e.g. by executing
chmod 777 ~
- Execute
xhost +
(as normal user) - Start Dropbox (as user Dropbox)
- Choose your home directory when asked where to place the Dropbox directory
- Terminate Dropbox
- Reclaim your Dropbox directory via chown
- Remove all files in Dropbox, e.g. by executing
rm -rf ./* ./.*
inside the Dropbox directory
This needs to be done before starting Dropbox.
To start the transparent client-side encryption, execute the following command:
bin/start_fuseecs.sh
This must not be done before starting the transparent client-side encryption.
We need to share our display, so the user Dropbox can use it. We then switch to the user Dropbox and start the program:
xhost +
su Dropbox
/home/user/.dropbox-dist/dropbox-lnx.$PLATFORM-$VERSION/dropbox
For sharing a folder, execute the following command:
bin/start_share_a_folder.sh $FOLDER $OPENPGP_FINGERPRINT
For example, the command could look like this:
bin/start_share_a_folder.sh /home/user/Dropbox/folder_to_share A6506F46
This shares the folder in a cryptographic way. Afterwards, you still have to share the folder via Dropbox.