1AMCRYPT(8)                                                          AMCRYPT(8)
2
3
4

NAME

6       amcrypt - reference crypt program for Amanda symmetric data encryption
7

SYNOPSIS

9       amcrypt
10

DESCRIPTION

12       amcrypt requires aespipe, uuencode and gpg to work. Aespipe is
13       available from http://loop-aes.sourceforge.net
14
15       amcrypt will search for the aespipe program in the following
16       directories: /usr/bin:/usr/local/bin:/sbin:/usr/sbin.
17
18       amcrypt calls amaespipe and pass the passphrase through file descriptor
19       3. The passphrase should be stored in ~amanda/.am_passphrase.
20

HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT

22       1. Create 65 random encryption keys and encrypt those keys using gpg.
23       Reading from /dev/random may take indefinitely long if kernel's random
24       entropy pool is empty. If that happens, do some other work on some
25       other console (use keyboard, mouse and disks).
26
27       head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 \ |
28       gpg --symmetric -a > ~amanda/.gnupg/am_key.gpg
29
30       This will ask for a passphrase. Remember this passphrase as you will
31       need it in the next step.
32
33       2. Store the passphrase inside the home-directory of the AMANDA-user
34       and protect it with proper permissions:
35
36           echo my_secret_passphrase > ~amanda/.am_passphrase
37           chown amanda:disk ~amanda/.am_passphrase
38           chmod 700 ~amanda/.am_passphrase
39

KEY AND PASSPHRASE

41       amcrypt uses the same key to encrypt and decrypt data.
42
43       It is very important to store and protect the key and the passphrase
44       properly. Encrypted backup data can only be recovered with the correct
45       key and passphrase.
46

SEE ALSO

48       amanda(8), amanda.conf(5), aespipe(1), amaespipe(8), gpg(1)
49
50
51
52                                  02/07/2007                        AMCRYPT(8)
Impressum