Tuesday, March 25, 2008

How to protect tape data from unauthorised access

How to protect tape data from unauthorised access
  






Encrypting Data to Tape using "tar" and "openssl".

The following shows an example of writing the contents of "tapetest" to tape:


$ tar zcvf - tapetest|openssl des3 -salt -k secretpassword | dd of=/dev/st0




Reading the data back:

$ dd if=/dev/st0|openssl des3 -d -k secretpassword|tar xzf -

No comments: