Skip to content

Do not trust your Cloud. Always encrypt data before uploading.

License

Notifications You must be signed in to change notification settings

keinhaar/crypt2cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypt2cloud

Do not trust your Cloud. Always encrypt data before uploading.

This tool makes an AES encrypted backup of some folder directly in the cloud. There is no redundant data on your local drive. Even the Metadata like filenames are encrypted, so nobody will be able to see any information about the data you uploaded.

features

  • Encrypts/Decrypts data on the fly
  • Works incrementally (backups only changed files)
  • Completely scrambles files and directories. You wont see any difference
  • Can do partial backups or restores
  • Single Executable which does not need to be installed for Windows and Linux. Other Platforms can use the single jar Java Version.

license

This code is licensed under conditions of GPL-v3.

usage

Windows

Windows users can use the native exe version or the java implementation. The parameters are the same for all Versions.

Linux

Linux users can use the native version or the java implementation. The parameters are the same for all Versions.

OSX

OSX users can use the java implementation. The parameters are the same for all Versions.

general call syntax

crypt2cloud [--backup | --restore | --list] --password PASSWORD --plaindir DIRECTORY --cryptdir DIRECTORY [--path SUBPATH]

for tha java version use this

java -jar crypt2cloud.jar [--backup | --restore | --list] --password PASSWORD --plaindir DIRECTORY --cryptdir DIRECTORY [--path SUBPATH]

--backup will store plain files into the crypted directory.
--restore will restore plain files from the crypted directory.
--list will list the files stored in the crypted directory.
--path will limit the operation to only the given path. Useful to limit restore to single files or directories, or if you know, that backup only needs to be performed on some directories.

examples

Make sure you have mounted your cloud folder. We asume you used /media/cloud in this examples.

To backup data in the folder /data/private use this command.

java -jar crypt2cloud --backup --plaindir /data/private --cryptdir /media/cloud/crypt2cloud --password cloudIsEvil

This will result in a folder Structure similar to this:

/media/cloud/crypt2cloud/7/3/8/d/a/8/738da87e017f4161530f785850d80670
/media/cloud/crypt2cloud/b/8/d/4/b/8/b8d4b8ca5ce6aeb33e5fc4b6815a184f
/media/cloud/crypt2cloud/e/5/5/e/3/b/e55e3b217a82ff05dab9e1b5b22c6326
...

To restore data to a new folder /tmp/private_restored use this command.

java -jar crypt2cloud --restore --plaindir /tmp/private_restore --cryptdir /media/cloud/crypt2cloud --password cloudIsEvil

About

Do not trust your Cloud. Always encrypt data before uploading.

Resources

License

Stars

Watchers

Forks

Packages

No packages published