3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
8 .TH "AMCRYPT" "8" "08/22/2008" "" ""
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 amcrypt - reference crypt program for Amanda symmetric data encryption
27 to work\. Aespipe is available from
28 : http://loop-aes.sourceforge.net
32 will search for the aespipe program in the following directories: /usr/bin:/usr/local/bin:/sbin:/usr/sbin\.
40 through file descriptor 3\. The passphrase should be stored in ~amanda/\.am_passphrase\.
41 .SH "HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT"
43 1\. Create 65 random encryption keys and encrypt those keys using gpg\. Reading from /dev/random may take indefinitely long if kernel\'s random entropy pool is empty\. If that happens, do some other work on some other console (use keyboard, mouse and disks)\.
45 head \-c 2925 /dev/random | uuencode \-m \- | head \-n 66 | tail \-n 65 \e | gpg \-\-symmetric \-a > ~amanda/\.gnupg/am_key\.gpg
47 This will ask for a passphrase\. Remember this passphrase as you will need it in the next step\.
49 2\. Store the passphrase inside the home\-directory of the AMANDA\-user and protect it with proper permissions:
51 echo my_secret_passphrase > ~amanda/\.am_passphrase
52 chown amanda:disk ~amanda/\.am_passphrase
53 chmod 700 ~amanda/\.am_passphrase
55 .SH "KEY AND PASSPHRASE"
59 uses the same key to encrypt and decrypt data\.
61 It is very important to store and protect the key and the passphrase properly\. Encrypted backup data can
63 be recovered with the correct key and passphrase\.
71 : http://wiki.zmanda.com