![]() |
![]()
| ![]() |
![]()
NAMEamgpgcrypt - reference crypt program for Amanda public-key data encryption SYNOPSISamgpgcrypt to be called by Amanda only DESCRIPTIONamgpgcrypt calls gpg to perform public-key data encryption on Amanda backup. amgpgcrypt will search for the gpg program in the following directories: /usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin amgpgcrypt sets GNUPGHOME to $AMANDA_HOME/.gnupg where gpg will look for the gpg keys. amgpgcrypt uses the public key to encrypt the Amanda data and uses the private key to decrypt the Amanda backup data. Thus, passphrase is only required at the time of data restore. KEY AND PASSPHRASEamgpgcrypt uses the private key to decrypt Amanda backup data. It is very important to store, manage and protect the key and the passphrase properly. Encrypted backup data can only be recovered with the correct key and passphrase. HOW TO CREATE ENCRYPTION KEYS AND PASSPHRASE FOR AMGPGCRYPTStore the passphrase that you used in following "gpg --gen-key" command inside the home-directory of the AMANDA-user($amanda_user) and protect it with proper permissions:
Run "gpg --gen-key". Below is an example: $ gpg --gen-key gpg (GnuPG) 1.2.6; Copyright (C) 2004 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Please select what kind of key you want: FILES$AMANDA_HOME/.gnupg/pubring.gpg The public key. amgpgcrypt encrypt data with this
public key along with the cipher algorithm.
$AMANDA_HOME/.gnupg/secring.gpg The private/secret key. It's only needed during
amrecover/amrestore. Store and protect it properly during other time.
$AMANDA_HOME/.am_passphrase The passphrase. It's only needed during
amrecover/amrestore. Store and protect it properly during other time.
BUGSAmanda has problem with gpg mdc(modification detection code) in the binary mode. amgpgcrypt calls gpg with mdc disabled SEE ALSOamanda(8), amanda.conf(5), amcrypt(8), amrestore(8), gpg(1) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORKevin Till <kevin.till@zmanda.com> Zmanda, Inc. (http://www.zmanda.com)
|