Safecloud-encrypts user files before uploading to the cloud.

Description

Today we have a large amount of cloud disk space in Google Drive, Microsoft OneDrive, Dropbox, YandexDisk, MailruCloud etc. We can store there anything: your photos, videos, notes some documents. But ask yourself: do you want to share your personal information in the clear with somebody?
If you don't want: well, I have a something cool for you.
It's a SafeCloud.
SafeCloud is a open-source application that covers your ass when you are uploading your personal data to the cloud. This App takes your files and shields it with a bulletproof armor: GPG
After that nobody can read your data.

How it works

Application runs in background and operates with two kinds of directories:
  1. SafeCloud directory
  2. Multiple cloud directories
SafeCloud hooks all the changes in target directories, crypts and decrypts files on-the-fly.
When you place your file in SafeCloud-directory, the Application takes this file, encrypts it and finally moves encrypted file to cloud-directory where related cloud app syncs this file with your cloud. Encrypted files have custom configurable extension.
When you try to open encrypted file, it will be opened with SafeCloud, which decrypts it and place decrypted file in SafeCloud-directory with same relative-directory.

Cryptography

For encrypt/decrypt operations SafeCloud uses opensource software GnuPG. it means that your files have blazing protection.

Requirements

  1. Java 8
  2. GnuPG

Configuration

When you fist launch SafeCloud, it creates configuration-file
~/.safecloud/settings.yaml
Template is represented below:
clouds:
  - name: '<CLOUD-NAME>'
    root: '<ROOT-PATH-FOR-CLOUD>'

safeCloud:
  root: '<ROOT-PATH-FOR-SAFECLOUD>'
  extension: '<FOR-ENCRYPTED-FILES>'
  user: '<YOUR-GPG-IDENTITY>'
  passphrase: '<PASSPHRASE-FOR-GPG-KEYS>'
You need to fill it with correct values. Note, that cloud names must not contain spaces. User field is an identity of your pgp key. Usually it's an email.

Build

./build.sh

Installing

./install.sh

Running the app

./safecloud.sh

Decrypt files

For decryption you have to associate encrypted files with safecloud-agent.sh file. After that when you double click to encrypted file SafeClouds decrypts this file and place it to SafeCloud-directory.

                                                 Source and download

No comments