From: jmc Date: Sat, 13 Aug 2016 18:23:39 +0000 (+0000) Subject: shorten gendsa; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=540acd4239552d9220f6ed447f25be0982f90087;p=openbsd shorten gendsa; --- diff --git a/usr.bin/openssl/openssl.1 b/usr.bin/openssl/openssl.1 index f5c766e9cd7..ec9d47d6e4c 100644 --- a/usr.bin/openssl/openssl.1 +++ b/usr.bin/openssl/openssl.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: openssl.1,v 1.50 2016/08/12 06:21:12 jmc Exp $ +.\" $OpenBSD: openssl.1,v 1.51 2016/08/13 18:23:39 jmc Exp $ .\" ==================================================================== .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. .\" @@ -112,7 +112,7 @@ .\" .\" OPENSSL .\" -.Dd $Mdocdate: August 12 2016 $ +.Dd $Mdocdate: August 13 2016 $ .Dt OPENSSL 1 .Os .Sh NAME @@ -1800,7 +1800,7 @@ be used since it makes it possible to perform efficient dictionary attacks on the password and to attack stream cipher encrypted data. .It Fl out Ar file -The output file to read from, +The output file to write to, or standard output if none is specified. .It Fl P Print out the salt, key, and IV used, then immediately exit; @@ -1851,28 +1851,27 @@ The options are as follows: .It Fl stats Print debugging statistics about various aspects of the hash table. .El -.\" -.\" GENDSA -.\" .Sh GENDSA .nr nS 1 .Nm "openssl gendsa" -.Bk -words .Oo .Fl aes128 | aes192 | aes256 | .Fl des | des3 .Oc .Op Fl out Ar file .Op Ar paramfile -.Ek .nr nS 0 .Pp The .Nm gendsa command generates a DSA private key from a DSA parameter file -(which will typically be generated by the +(typically generated by the .Nm openssl dsaparam command). +DSA key generation is little more than random number generation so it is +much quicker than, +for example, +RSA key generation. .Pp The options are as follows: .Bl -tag -width Ds @@ -1880,24 +1879,17 @@ The options are as follows: .Fl aes128 | aes192 | aes256 | .Fl des | des3 .Xc -These options encrypt the private key with the AES, DES, +Encrypt the private key with the AES, DES, or the triple DES ciphers, respectively, before outputting it. A pass phrase is prompted for. If none of these options are specified, no encryption is used. .It Fl out Ar file -The output -.Ar file . -If this argument is not specified, standard output is used. +The output file to write to, +or standard output if none is specified. .It Ar paramfile -This option specifies the DSA parameter file to use. +Specify the DSA parameter file to use. The parameters in this file determine the size of the private key. -DSA parameters can be generated and examined using the -.Nm openssl dsaparam -command. .El -.Sh GENDSA NOTES -DSA key generation is little more than random number generation so it is -much quicker than RSA key generation, for example. .\" .\" GENPKEY .\"