Imported Upstream version 2.5.1p3
[debian/amanda] / man / amcrypt-ossl-asym.8
index ec21f6f1a95562f4901fbc3125995523bab4e2b4..0478b62d8f72583c247dca1fc199ada80e2b3f1c 100644 (file)
@@ -1,60 +1,56 @@
-.\"Generated by db2man.xsl. Don't modify this, modify the source.
-.de Sh \" Subsection
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Ip \" List item
-.br
-.ie \\n(.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH "AMCRYPT-OSSL-ASYM" 8 "" "" ""
+.\"     Title: amcrypt-ossl-asym
+.\"    Author: 
+.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
+.\"      Date: 02/07/2007
+.\"    Manual: 
+.\"    Source: 
+.\"
+.TH "AMCRYPT\-OSSL\-ASYM" "8" "02/07/2007" "" ""
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
 .SH "NAME"
-amcrypt-ossl-asym - crypt program for Amanda asymmetric data encryption using OpenSSL
+amcrypt\-ossl\-asym \- crypt program for Amanda asymmetric data encryption using OpenSSL
 .SH "SYNOPSIS"
 .HP 18
-\fBamcrypt-ossl-asym\fR [-d]
+\fBamcrypt\-ossl\-asym\fR [\-d]
 .SH "DESCRIPTION"
 .PP
-\fBamcrypt-ossl-asym\fR
+
+\fBamcrypt\-ossl\-asym\fR
 uses
 \fBOpenSSL\fR
 to encrypt and decrypt data. OpenSSL is available from
-www.openssl.org. OpenSSL offers a wide variety of cipher choices (
-\fBamcrypt-ossl-asym\fR
-defaults to 256-bit AES) and can use hardware cryptographic accelerators on several platforms.
+\fIwww.openssl.org\fR\&[1]. OpenSSL offers a wide variety of cipher choices (
+\fBamcrypt\-ossl\-asym\fR
+defaults to 256\-bit AES) and can use hardware cryptographic accelerators on several platforms.
 .PP
-\fBamcrypt-ossl-asym\fR
+
+\fBamcrypt\-ossl\-asym\fR
 will search for the OpenSSL program in the following directories: /bin:/usr/bin:/usr/local/bin:/usr/ssl/bin:/usr/local/ssl/bin.
 .SH "GENERATING PUBLIC AND PRIVATE KEYS"
 .PP
 RSA keys can be generated with the standard OpenSSL commands, e.g.:
+.sp
+.RS 4
 .nf
-
 $ cd /var/lib/amanda
-$ openssl genrsa -aes128 -out backup-privkey.pem 1024
+$ openssl genrsa \-aes128 \-out backup\-privkey.pem 1024
 Generating RSA private key, 1024 bit long modulus
 [...]
-Enter pass phrase for backup-privkey.pem: \fBENTER YOUR PASS PHRASE\fR
-Verifying - Enter pass phrase for backup-key.pem: \fBENTER YOUR PASS PHRASE\fR
+Enter pass phrase for backup\-privkey.pem: \fIENTER YOUR PASS PHRASE\fR
+Verifying \- Enter pass phrase for backup\-key.pem: \fIENTER YOUR PASS PHRASE\fR
 
-$ openssl rsa -in backup-privkey.pem -pubout -out backup-pubkey.pem
-Enter pass phrase for backup-privkey.pem: \fBENTER YOUR PASS PHRASE\fR
+$ openssl rsa \-in backup\-privkey.pem \-pubout \-out backup\-pubkey.pem
+Enter pass phrase for backup\-privkey.pem: \fIENTER YOUR PASS PHRASE\fR
 Writing RSA key
 
 .fi
+.RE
 .PP
 To generate a private key without a passphrase, omit the
-\fB-aes128\fR
+\fB\-aes128\fR
 option. See
 \fBopenssl_genrsa\fR(1)
 for more key generation options.
@@ -62,35 +58,53 @@ for more key generation options.
 Note that it is always possible to generate the public key from the private key.
 .SH "KEY AND PASSPHRASE MANAGEMENT"
 .PP
-\fBamcrypt-ossl-asym\fR
+
+\fBamcrypt\-ossl\-asym\fR
 uses the
-\fBpublic key\fR
+\fIpublic key\fR
 to encrypt data. The security of the data does not depend on the confidentiality of the public key. The
-\fBprivate key\fR
+\fIprivate key\fR
 is used to decrypt data, and must be protected. Encrypted backup data cannot be recovered without the private key. The private key may optionally be encrypted with a passphrase.
 .PP
 While the public key must be online at all times to perorm backups, the private key and optional passphrase are only needed to restore data. It is recommended that the latter be stored offline all other times. For example, you could keep the private key on removable media, and copy it into place for a restore; or you could keep the private key online, encrypted with a passphrase that is present only for a restore.
 .PP
 OpenSSL's key derivation routines use a salt to guard against dictionary attacks on the pass phrase; still it is important to pick a pass phrase that is hard to guess. The Diceware method (see
-www.diceware.com) can be used to create passphrases that are difficult to guess and easy to remember.
+\fIwww.diceware.com\fR\&[2]) can be used to create passphrases that are difficult to guess and easy to remember.
 .SH "FILES"
-.TP
-/var/lib/amanda/backup-privkey.pem
+.PP
+/var/lib/amanda/backup\-privkey.pem
+.RS 4
 File containing the RSA private key. It should not be readable by any user other than the
-\fBAmanda\fR
+\fIAmanda\fR
 user.
-.TP
-/var/lib/amanda/backup-pubkey.pem
+.RE
+.PP
+/var/lib/amanda/backup\-pubkey.pem
+.RS 4
 File containing the RSA public key.
-.TP
+.RE
+.PP
 /var/lib/amanda/.am_passphrase
+.RS 4
 File containing the passphrase. It should not be readable by any user other than the
-\fBAmanda\fR
+\fIAmanda\fR
 user.
+.RE
 .SH "SEE ALSO"
 .PP
+
 \fBamanda\fR(8),
 \fBamanda.conf\fR(5),
 \fBopenssl\fR(1),
-\fBamcrypt-ossl\fR(8)
-
+\fBamcrypt\-ossl\fR(8)
+.SH "REFERENCES"
+.IP " 1." 4
+www.openssl.org
+.RS 4
+\%http://www.openssl.org/
+.RE
+.IP " 2." 4
+www.diceware.com
+.RS 4
+\%http://www.diceware.com/
+.RE