⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amcrypt-ossl-asym.8

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 8
字号:
.\"     Title: amcrypt-ossl-asym.\"    Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\"      Date: 05/13/2008.\"    Manual: .\"    Source: .\".TH "AMCRYPT\-OSSL\-ASYM" "8" "05/13/2008" "" "".\" 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.SH "SYNOPSIS".HP 18\fBamcrypt\-ossl\-asym\fR [\-d].SH "DESCRIPTION".PP\fBamcrypt\-ossl\-asym\fRuses\fBOpenSSL\fRto encrypt and decrypt data\. OpenSSL is available from\fIwww\.openssl\.org\fR\&[1]\. OpenSSL offers a wide variety of cipher choices (\fBamcrypt\-ossl\-asym\fRdefaults to 256\-bit AES) and can use hardware cryptographic accelerators on several platforms\..PP\fBamcrypt\-ossl\-asym\fRwill 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".PPRSA 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 1024Generating RSA private key, 1024 bit long modulus[\.\.\.]Enter pass phrase for backup\-privkey\.pem: \fIENTER YOUR PASS PHRASE\fRVerifying \- Enter pass phrase for backup\-key\.pem: \fIENTER YOUR PASS PHRASE\fR$ openssl rsa \-in backup\-privkey\.pem \-pubout \-out backup\-pubkey\.pemEnter pass phrase for backup\-privkey\.pem: \fIENTER YOUR PASS PHRASE\fRWriting RSA key.fi.RE.PPTo generate a private key without a passphrase, omit the\fB\-aes128\fRoption\. See\fBopenssl_genrsa\fR(1)for more key generation options\..PPNote that it is always possible to generate the public key from the private key\..SH "KEY AND PASSPHRASE MANAGEMENT".PP\fBamcrypt\-ossl\-asym\fRuses the\fIpublic key\fRto encrypt data\. The security of the data does not depend on the confidentiality of the public key\. The\fIprivate key\fRis 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\..PPWhile 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\..PPOpenSSL\'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\fIwww\.diceware\.com\fR\&[2]) can be used to create passphrases that are difficult to guess and easy to remember\..SH "FILES".PP/var/lib/amanda/backup\-privkey\.pem.RS 4File containing the RSA private key\. It should not be readable by any user other than the\fIAmanda\fRuser\..RE.PP/var/lib/amanda/backup\-pubkey\.pem.RS 4File containing the RSA public key\..RE.PP/var/lib/amanda/\.am_passphrase.RS 4File containing the passphrase\. It should not be readable by any user other than the\fIAmanda\fRuser\..RE.SH "SEE ALSO".PP\fBamanda\fR(8),\fBamanda.conf\fR(5),\fBopenssl\fR(1),\fBamcrypt-ossl\fR(8),\fI\%http://wiki.zmanda.com\fR.SH "NOTES".IP " 1." 4www.openssl.org.RS 4\%http://www.openssl.org/.RE.IP " 2." 4www.diceware.com.RS 4\%http://www.diceware.com/.RE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -