Debian Codegraph @

upstream/debian-unstable/man1/openssl-gendsa.1ssl

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\" ========================================================================
56 .\"
57 .IX Title "OPENSSL-GENDSA 1SSL"
58 .TH OPENSSL-GENDSA 1SSL 2026-04-07 3.6.2 OpenSSL
59 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
60 .\" way too many mistakes in technical documents.
61 .if n .ad l
62 .nh
63 .SH NAME
64 openssl\-gendsa \- generate a DSA private key from a set of parameters
65 .SH SYNOPSIS
66 .IX Header "SYNOPSIS"
67 \&\fBopenssl\fR \fBgendsa\fR
68 [\fB\-help\fR]
69 [\fB\-out\fR \fIfilename\fR]
70 [\fB\-passout\fR \fIarg\fR]
71 [\fB\-aes128\fR]
72 [\fB\-aes192\fR]
73 [\fB\-aes256\fR]
74 [\fB\-aria128\fR]
75 [\fB\-aria192\fR]
76 [\fB\-aria256\fR]
77 [\fB\-camellia128\fR]
78 [\fB\-camellia192\fR]
79 [\fB\-camellia256\fR]
80 [\fB\-des\fR]
81 [\fB\-des3\fR]
82 [\fB\-idea\fR]
83 [\fB\-verbose\fR]
84 [\fB\-quiet\fR]
85 [\fB\-rand\fR \fIfiles\fR]
86 [\fB\-writerand\fR \fIfile\fR]
87 [\fB\-engine\fR \fIid\fR]
88 [\fB\-provider\fR \fIname\fR]
89 [\fB\-provider\-path\fR \fIpath\fR]
90 [\fB\-provparam\fR \fI[name:]key=value\fR]
91 [\fB\-propquery\fR \fIpropq\fR]
92 [\fIparamfile\fR]
93 .SH DESCRIPTION
94 .IX Header "DESCRIPTION"
95 This command generates a DSA private key from a DSA parameter file
96 (which will be typically generated by the \fBopenssl\-dsaparam\fR\|(1) command).
97 .SH OPTIONS
98 .IX Header "OPTIONS"
99 .IP \fB\-help\fR 4
100 .IX Item "-help"
101 Print out a usage message.
102 .IP "\fB\-out\fR \fIfilename\fR" 4
103 .IX Item "-out filename"
104 Output the key to the specified file. If this argument is not specified then
105 standard output is used.
106 .IP "\fB\-passout\fR \fIarg\fR" 4
107 .IX Item "-passout arg"
108 The passphrase used for the output file.
109 See \fBopenssl\-passphrase\-options\fR\|(1).
110 .IP "\fB\-aes128\fR, \fB\-aes192\fR, \fB\-aes256\fR, \fB\-aria128\fR, \fB\-aria192\fR, \fB\-aria256\fR, \fB\-camellia128\fR, \fB\-camellia192\fR, \fB\-camellia256\fR, \fB\-des\fR, \fB\-des3\fR, \fB\-idea\fR" 4
111 .IX Item "-aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128, -camellia192, -camellia256, -des, -des3, -idea"
112 These options encrypt the private key with specified
113 cipher before outputting it. A pass phrase is prompted for.
114 If none of these options is specified no encryption is used.
115 .Sp
116 Note that all options must be given before the \fIparamfile\fR argument.
117 .IP \fB\-verbose\fR 4
118 .IX Item "-verbose"
119 Print extra details about the operations being performed.
120 .IP \fB\-quiet\fR 4
121 .IX Item "-quiet"
122 Print fewer details about the operations being performed, which may
123 be handy during batch scripts and pipelines.
124 .IP "\fB\-rand\fR \fIfiles\fR, \fB\-writerand\fR \fIfile\fR" 4
125 .IX Item "-rand files, -writerand file"
126 See "Random State Options" in \fBopenssl\fR\|(1) for details.
127 .IP "\fB\-engine\fR \fIid\fR" 4
128 .IX Item "-engine id"
129 See "Engine Options" in \fBopenssl\fR\|(1).
130 This option is deprecated.
131 .IP \fIparamfile\fR 4
132 .IX Item "paramfile"
133 The DSA parameter file to use. The parameters in this file determine
134 the size of the private key. DSA parameters can be generated and
135 examined using the \fBopenssl\-dsaparam\fR\|(1) command.
136 .IP "\fB\-provider\fR \fIname\fR" 4
137 .IX Item "-provider name"
138 .PD 0
139 .IP "\fB\-provider\-path\fR \fIpath\fR" 4
140 .IX Item "-provider-path path"
141 .IP "\fB\-provparam\fR \fI[name:]key=value\fR" 4
142 .IX Item "-provparam [name:]key=value"
143 .IP "\fB\-propquery\fR \fIpropq\fR" 4
144 .IX Item "-propquery propq"
145 .PD
146 See "Provider Options" in \fBopenssl\fR\|(1), \fBprovider\fR\|(7), and \fBproperty\fR\|(7).
147 .SH NOTES
148 .IX Header "NOTES"
149 DSA key generation is little more than random number generation so it is
150 much quicker that RSA key generation for example.
151 .SH "SEE ALSO"
152 .IX Header "SEE ALSO"
153 \&\fBopenssl\fR\|(1),
154 \&\fBopenssl\-genpkey\fR\|(1),
155 \&\fBopenssl\-dsaparam\fR\|(1),
156 \&\fBopenssl\-dsa\fR\|(1),
157 \&\fBopenssl\-genrsa\fR\|(1),
158 \&\fBopenssl\-rsa\fR\|(1)
159 .SH HISTORY
160 .IX Header "HISTORY"
161 The \fB\-engine\fR option was deprecated in OpenSSL 3.0.
162 .SH COPYRIGHT
163 .IX Header "COPYRIGHT"
164 Copyright 2000\-2023 The OpenSSL Project Authors. All Rights Reserved.
165 .PP
166 Licensed under the Apache License 2.0 (the "License"). You may not use
167 this file except in compliance with the License. You can obtain a copy
168 in the file LICENSE in the source distribution or at
169 <https://www.openssl.org/source/license.html>.