Sunday, September 11, 2011

Notes - How to create an encrypted tar

tar -zcvf -stuff | openssl des3 -salt -k secret_pass | dd of=stuff.des3


didn't try it, juts took it from old notes.

1 comment:

Daniel said...

# 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

 

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.