summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2016-08-13 18:23:39 +0000
committerjmc <>2016-08-13 18:23:39 +0000
commit999522bb6f15dae8a918ebe151758360da6965fe (patch)
tree072c509e2921f2c1782c119fee06d0c7bbd6a712 /src
parent37031bc4a9c3611d370ea9dec16da2cdd1c8bc2f (diff)
downloadopenbsd-999522bb6f15dae8a918ebe151758360da6965fe.tar.gz
openbsd-999522bb6f15dae8a918ebe151758360da6965fe.tar.bz2
openbsd-999522bb6f15dae8a918ebe151758360da6965fe.zip
shorten gendsa;
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.132
1 files changed, 12 insertions, 20 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index f5c766e9cd..ec9d47d6e4 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.50 2016/08/12 06:21:12 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.51 2016/08/13 18:23:39 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -112,7 +112,7 @@
112.\" 112.\"
113.\" OPENSSL 113.\" OPENSSL
114.\" 114.\"
115.Dd $Mdocdate: August 12 2016 $ 115.Dd $Mdocdate: August 13 2016 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -1800,7 +1800,7 @@ be used
1800since it makes it possible to perform efficient dictionary 1800since it makes it possible to perform efficient dictionary
1801attacks on the password and to attack stream cipher encrypted data. 1801attacks on the password and to attack stream cipher encrypted data.
1802.It Fl out Ar file 1802.It Fl out Ar file
1803The output file to read from, 1803The output file to write to,
1804or standard output if none is specified. 1804or standard output if none is specified.
1805.It Fl P 1805.It Fl P
1806Print out the salt, key, and IV used, then immediately exit; 1806Print out the salt, key, and IV used, then immediately exit;
@@ -1851,28 +1851,27 @@ The options are as follows:
1851.It Fl stats 1851.It Fl stats
1852Print debugging statistics about various aspects of the hash table. 1852Print debugging statistics about various aspects of the hash table.
1853.El 1853.El
1854.\"
1855.\" GENDSA
1856.\"
1857.Sh GENDSA 1854.Sh GENDSA
1858.nr nS 1 1855.nr nS 1
1859.Nm "openssl gendsa" 1856.Nm "openssl gendsa"
1860.Bk -words
1861.Oo 1857.Oo
1862.Fl aes128 | aes192 | aes256 | 1858.Fl aes128 | aes192 | aes256 |
1863.Fl des | des3 1859.Fl des | des3
1864.Oc 1860.Oc
1865.Op Fl out Ar file 1861.Op Fl out Ar file
1866.Op Ar paramfile 1862.Op Ar paramfile
1867.Ek
1868.nr nS 0 1863.nr nS 0
1869.Pp 1864.Pp
1870The 1865The
1871.Nm gendsa 1866.Nm gendsa
1872command generates a DSA private key from a DSA parameter file 1867command generates a DSA private key from a DSA parameter file
1873(which will typically be generated by the 1868(typically generated by the
1874.Nm openssl dsaparam 1869.Nm openssl dsaparam
1875command). 1870command).
1871DSA key generation is little more than random number generation so it is
1872much quicker than,
1873for example,
1874RSA key generation.
1876.Pp 1875.Pp
1877The options are as follows: 1876The options are as follows:
1878.Bl -tag -width Ds 1877.Bl -tag -width Ds
@@ -1880,24 +1879,17 @@ The options are as follows:
1880.Fl aes128 | aes192 | aes256 | 1879.Fl aes128 | aes192 | aes256 |
1881.Fl des | des3 1880.Fl des | des3
1882.Xc 1881.Xc
1883These options encrypt the private key with the AES, DES, 1882Encrypt the private key with the AES, DES,
1884or the triple DES ciphers, respectively, before outputting it. 1883or the triple DES ciphers, respectively, before outputting it.
1885A pass phrase is prompted for. 1884A pass phrase is prompted for.
1886If none of these options are specified, no encryption is used. 1885If none of these options are specified, no encryption is used.
1887.It Fl out Ar file 1886.It Fl out Ar file
1888The output 1887The output file to write to,
1889.Ar file . 1888or standard output if none is specified.
1890If this argument is not specified, standard output is used.
1891.It Ar paramfile 1889.It Ar paramfile
1892This option specifies the DSA parameter file to use. 1890Specify the DSA parameter file to use.
1893The parameters in this file determine the size of the private key. 1891The parameters in this file determine the size of the private key.
1894DSA parameters can be generated and examined using the
1895.Nm openssl dsaparam
1896command.
1897.El 1892.El
1898.Sh GENDSA NOTES
1899DSA key generation is little more than random number generation so it is
1900much quicker than RSA key generation, for example.
1901.\" 1893.\"
1902.\" GENPKEY 1894.\" GENPKEY
1903.\" 1895.\"