-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicki Messerschmidt wrote: > is there any known method to encrypt the data, before writing it to > tape? I thought of something like "gpg -c" which does a symmetric > encryption, but if I do this then I won't be able to use amrecover > any more. Has anyone a good idea for this problem? One could use something like this: # Create empty file dd if=/dev/zero of=testfile bs=1024 count=1024
# Compress it with zlib Routine (-z 9) and encrypt it with a password # from $PASSWORDFILE cat testfile | gpg --passphrase-fd 3 -z 9 --no-tty -c - 3<$PASSWORDFILE >testfile.gpg # Decompress and decrypt with a password from $PASSWORDFILE cat testfile.gpg | gpg --output - --passphrase-fd 3 --no-tty --decrypt - - 3<$PASSWORDFILE > test This works and gpg can handle STD(IN|OUT). But how do I implement this into amanda? And is there a possibility that I have to enter the password when I want to recover some files? Thanks in advance, Nicki - -- Linksystem Muenchen GmbH [EMAIL PROTECTED] Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> Comment: Keys at: https://www.link-m.de/pgp iQA/AwUBPmiM3+s1nPm17iBDEQL7KQCeNbN7tdhMVfF3znHL9U5HT3qrd0EAoKQH lNDAUuKuy0QnS+bgsrBCcTsL =rZHz -----END PGP SIGNATURE-----
