Encrypting a tar or gz (gzip) File with OpenSSL

When you have sensitive data that you need to transmit but want to make it easy to encrypt and decrypt it, use some standard tools to get the job done!

When sending sensitive material across the globe, be it via email, dropbox or any other file sharing utility you probably want to enrcrypt your data before sending it.

Here is an alternative to do just that;  tar the files and encrypt it with OpenSSL!

 

Encrypting Your File
tar and gzip the file, then encrypt it using des3 and a secret key. Changing #YOUR PASSWORD# to your super strong secret password that no one else knows.

It is that simple!

When received on the other end its essentially calling the commands in reverse order.

 

9 comments for “Encrypting a tar or gz (gzip) File with OpenSSL

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.