summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2019-07-09 11:19:06 +0000
committerKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2019-07-09 11:19:06 +0000
commit46ff1eb66f2f6118a8b2864bb69b08698f6ab76d (patch)
treed2ed93779e2daebd540cc72512394eccbacdd4fd /usr.bin
parent862f79198908bd18246e9706054594c3ef1d8a38 (diff)
Fix manual openssl(1) genrsa
Add missing -camellia*/-idea description to genrsa section. ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/openssl/openssl.120
1 files changed, 14 insertions, 6 deletions
diff --git a/usr.bin/openssl/openssl.1 b/usr.bin/openssl/openssl.1
index 624c29d0aa3..90ff100111d 100644
--- a/usr.bin/openssl/openssl.1
+++ b/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openssl.1,v 1.108 2019/07/08 14:15:12 inoguchi Exp $
+.\" $OpenBSD: openssl.1,v 1.109 2019/07/09 11:19:05 inoguchi Exp $
.\" ====================================================================
.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
.\"
@@ -110,7 +110,7 @@
.\" copied and put under another distribution licence
.\" [including the GNU Public Licence.]
.\"
-.Dd $Mdocdate: July 8 2019 $
+.Dd $Mdocdate: July 9 2019 $
.Dt OPENSSL 1
.Os
.Sh NAME
@@ -1859,7 +1859,10 @@ Print the private/public key in plain text.
.nr nS 1
.Nm "openssl genrsa"
.Op Fl 3 | f4
-.Op Fl aes128 | aes192 | aes256 | des | des3
+.Oo
+.Fl aes128 | aes192 | aes256 | camellia128 |
+.Fl camellia192 | camellia256 | des | des3 | idea
+.Oc
.Op Fl out Ar file
.Op Fl passout Ar arg
.Op Ar numbits
@@ -1884,9 +1887,14 @@ The options are as follows:
.It Fl 3 | f4
The public exponent to use, either 3 or 65537.
The default is 65537.
-.It Fl aes128 | aes192 | aes256 | des | des3
-Encrypt the private key with the AES, DES,
-or the triple DES ciphers, respectively, before outputting it.
+.It Xo
+.Fl aes128 | aes192 | aes256 |
+.Fl camellia128 | camellia192 | camellia256 |
+.Fl des | des3 |
+.Fl idea
+.Xc
+Encrypt the private key with the AES, CAMELLIA, DES, triple DES
+or the IDEA ciphers, respectively, before outputting it.
If none of these options are specified, no encryption is used.
If encryption is used, a pass phrase is prompted for,
if it is not supplied via the