📄 amcrypt.8
字号:
.\" Title: amcrypt.\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\" Date: 05/13/2008.\" Manual: .\" Source: .\".TH "AMCRYPT" "8" "05/13/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"amcrypt - reference crypt program for Amanda symmetric data encryption.SH "SYNOPSIS".HP 8\fBamcrypt\fR.SH "DESCRIPTION".PP\fBamcrypt\fRrequires\fBaespipe\fR,\fBuuencode\fRand\fBgpg\fRto work\. Aespipe is available from\fI\%http://loop-aes.sourceforge.net\fR.PP\fBamcrypt\fRwill search for the aespipe program in the following directories: /usr/bin:/usr/local/bin:/sbin:/usr/sbin\..PP\fBamcrypt\fRcalls\fBamaespipe\fRand pass the\fBpassphrase\fRthrough file descriptor 3\. The passphrase should be stored in ~amanda/\.am_passphrase\..SH "HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT".PP1\. 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)\..PPhead \-c 2925 /dev/random | uuencode \-m \- | head \-n 66 | tail \-n 65 \e | gpg \-\-symmetric \-a > ~amanda/\.gnupg/am_key\.gpg.PPThis will ask for a passphrase\. Remember this passphrase as you will need it in the next step\..PP2\. Store the passphrase inside the home\-directory of the AMANDA\-user and protect it with proper permissions:.sp.RS 4.nfecho my_secret_passphrase > ~amanda/\.am_passphrasechown amanda:disk ~amanda/\.am_passphrasechmod 700 ~amanda/\.am_passphrase.fi.RE.SH "KEY AND PASSPHRASE".PP\fBamcrypt\fRuses the same key to encrypt and decrypt data\..PPIt is very important to store and protect the key and the passphrase properly\. Encrypted backup data can\fBonly\fRbe recovered with the correct key and passphrase\..SH "SEE ALSO".PP\fBamanda\fR(8),\fBamanda.conf\fR(5),\fBaespipe\fR(1),\fBamaespipe\fR(8),\fBgpg\fR(1),\fI\%http://wiki.zmanda.com\fR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -