Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More security for transport over the Internet. Add feature for encrypt backup #6

Open
frekele opened this issue Apr 22, 2016 · 1 comment

Comments

@frekele
Copy link
Owner

frekele commented Apr 22, 2016

Add support for encrypt openssl backup files.
More security for transport over the Internet.

Encrypt and decrypt:

# openssl aes-128-cbc -salt -in file -out file.aes
# openssl aes-128-cbc -d -salt -in file.aes -out file

Note that the file can of course be a tar archive.
tar and encrypt a whole directory

# tar -cf - directory | openssl aes-128-cbc -salt -out directory.tar.aes      # Encrypt
# openssl aes-128-cbc -d -salt -in directory.tar.aes | tar -x -f -            # Decrypt

tar zip and encrypt a whole directory

# tar -zcf - directory | openssl aes-128-cbc -salt -out directory.tar.gz.aes  # Encrypt
# openssl aes-128-cbc -d -salt -in directory.tar.gz.aes | tar -xz -f -        # Decrypt

Use -k mysecretpassword after aes-128-cbc to avoid the interactive password request. However note that this is highly insecure.
Use aes-256-cbc instead of aes-128-cbc to get even stronger encryption. This uses also more CPU.

@frekele frekele assigned frekele and unassigned frekele May 15, 2016
@frekele frekele self-assigned this Jun 13, 2016
@frekele frekele added this to the v0.3.0-rc-1 milestone Sep 17, 2016
@pascalandy
Copy link

+1

@frekele frekele modified the milestones: v0.3.0-rc-2, v0.3.0-rc-1 Jan 11, 2017
@frekele frekele modified the milestones: v0.4.0-alpha-1, v0.3.0-rc-2 Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants