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