User Tools

Site Tools


blog:encrypting_tar_files_using_openssl

This is an old revision of the document!


Encrypting tar files using openssl

Encrypting:

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

Decrypting:

dd if=encrypted_passwd_info.tgz.openssl |openssl des3 -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.1315552099.txt.gz · Last modified: 2011-09-09 09:08 by brb