User Tools

Site Tools


blog:encrypting_tar_files_using_openssl

Encrypting tar files using openssl

Encrypting:

tar cvzf - passwd_info.txt | openssl -aes-256-cbc -salt -k secretkey | dd of=encrypted_passwd_info.tgz.openssl

Decrypting:

dd if=encrypted_passwd_info.tgz.openssl |openssl -aes-256-cbc -d -k secretkey |tar xvzf -

Ref: http://unixfoo.blogspot.com/2008/06/encrypting-tar-file-using-openssl.html

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
  _____   ___      __   __  ___   ___ 
 / ___/  / _ \ __ / /  /  |/  /  / _ |
/ (_ /  / , _// // /  / /|_/ /  / __ |
\___/  /_/|_| \___/  /_/  /_/  /_/ |_|
 
blog/encrypting_tar_files_using_openssl.txt · Last modified: 2011-09-09 09:26 by brb