Here, i propose you a tested very good solution for "Google Drive" Cloud-Access Encryptation files.:
imag
We will be able to read/write directly encrypted files in the Google Drive cloud with Encdroid (Android App).
****** Valid also for Dropbox (not tested this case)
0- Encrypting files -- Encfs Encryptation
https://wiki.archlinux.org/index.php/EncFS
1- Uploading Files -- Google Drive - Client Linux
- We upload encrypted encfs directory and move outside the keyfile needed for decryption ".encfs6.xml"
(For security reasons, we dont want the file to be available in the Google Drive).
We will keep it in a secure place, for using when we want to mount the encrypted directory.
- As a "Google Drive" client linux, Im using "drive" for pushing/pulling local files:
https://github.com/odeke-em/drive
I usually just push files to Cloud, It will show you the files to add/delete/changed
Code: Select all
#!/bin/bash
#
DRIVE=/home/user/google_drive/
cd $DRIVE
drive push -ignore-name-clashes -ignore-conflict GoogleDrive/
https://play.google.com/store/apps/deta ... roid&hl=en
**Requirement.: Android--> Google Drive App.
https://play.google.com/store/apps/deta ... docs&hl=en
Once installed, we will create a pool drive from the App.-Encdroid, to the encrypted directory in Google Drive App.
Encdroid will let us to lock/unlock/delte the pool connection to the ecrypted folder.
Encdroid will ask us for the keyfile needed for decryption (".encfs6.xml") and the passphrase to mount the encrypted directory.
(we might hide/camouflage our keyfile needed for decryption (".encfs6.xml") somewhere just we know in our android hardrive. )