1
<?xml version='1.0' encoding='UTF-8'?>
2
<?xml-stylesheet type="text/xsl"
3
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
4
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
5
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
6
<!ENTITY VERSION "1.0">
7
<!ENTITY COMMANDNAME "mandos-keygen">
12
<title>&COMMANDNAME;</title>
13
<!-- NWalsh's docbook scripts use this to generate the footer: -->
14
<productname>&COMMANDNAME;</productname>
15
<productnumber>&VERSION;</productnumber>
18
<firstname>Björn</firstname>
19
<surname>Påhlsson</surname>
21
<email>belorn@fukt.bsnet.se</email>
25
<firstname>Teddy</firstname>
26
<surname>Hogeborn</surname>
28
<email>teddy@fukt.bsnet.se</email>
34
<holder>Teddy Hogeborn & Björn Påhlsson</holder>
38
This manual page is free software: you can redistribute it
39
and/or modify it under the terms of the GNU General Public
40
License as published by the Free Software Foundation,
41
either version 3 of the License, or (at your option) any
46
This manual page is distributed in the hope that it will
47
be useful, but WITHOUT ANY WARRANTY; without even the
48
implied warranty of MERCHANTABILITY or FITNESS FOR A
49
PARTICULAR PURPOSE. See the GNU General Public License
54
You should have received a copy of the GNU General Public
55
License along with this program; If not, see
56
<ulink url="http://www.gnu.org/licenses/"/>.
62
<refentrytitle>&COMMANDNAME;</refentrytitle>
63
<manvolnum>8</manvolnum>
67
<refname><command>&COMMANDNAME;</command></refname>
69
Generate keys for <citerefentry><refentrytitle>password-request
70
</refentrytitle><manvolnum>8mandos</manvolnum></citerefentry>
76
<command>&COMMANDNAME;</command>
78
<arg choice="plain"><option>--dir</option>
79
<replaceable>directory</replaceable></arg>
82
<arg choice="plain"><option>--type</option>
83
<replaceable>type</replaceable></arg>
86
<arg choice="plain"><option>--length</option>
87
<replaceable>bits</replaceable></arg>
90
<arg choice="plain"><option>--name</option>
91
<replaceable>NAME</replaceable></arg>
94
<arg choice="plain"><option>--email</option>
95
<replaceable>EMAIL</replaceable></arg>
98
<arg choice="plain"><option>--comment</option>
99
<replaceable>COMMENT</replaceable></arg>
102
<arg choice="plain"><option>--expire</option>
103
<replaceable>TIME</replaceable></arg>
106
<arg choice="plain"><option>--force</option></arg>
110
<command>&COMMANDNAME;</command>
112
<arg choice="plain"><option>-d</option>
113
<replaceable>directory</replaceable></arg>
116
<arg choice="plain"><option>-t</option>
117
<replaceable>type</replaceable></arg>
120
<arg choice="plain"><option>-l</option>
121
<replaceable>bits</replaceable></arg>
124
<arg choice="plain"><option>-n</option>
125
<replaceable>NAME</replaceable></arg>
128
<arg choice="plain"><option>-e</option>
129
<replaceable>EMAIL</replaceable></arg>
132
<arg choice="plain"><option>-c</option>
133
<replaceable>COMMENT</replaceable></arg>
136
<arg choice="plain"><option>-x</option>
137
<replaceable>TIME</replaceable></arg>
140
<arg choice="plain"><option>-f</option></arg>
144
<command>&COMMANDNAME;</command>
146
<arg choice='plain'><option>-h</option></arg>
147
<arg choice='plain'><option>--help</option></arg>
151
<command>&COMMANDNAME;</command>
153
<arg choice='plain'><option>-v</option></arg>
154
<arg choice='plain'><option>--version</option></arg>
159
<refsect1 id="description">
160
<title>DESCRIPTION</title>
162
<command>&COMMANDNAME;</command> is a program to generate the
164
<citerefentry><refentrytitle>password-request</refentrytitle>
165
<manvolnum>8mandos</manvolnum></citerefentry>. The keys are
166
normally written to /etc/mandos for later installation into the
167
initrd image, but this, like most things, can be changed with
168
command line options.
172
<refsect1 id="options">
173
<title>OPTIONS</title>
177
<term><literal>-h</literal>, <literal>--help</literal></term>
180
Show a help message and exit
186
<term><literal>-d</literal>, <literal>--dir
187
<replaceable>directory</replaceable></literal></term>
190
Target directory for key files.
196
<term><literal>-t</literal>, <literal>--type
197
<replaceable>type</replaceable></literal></term>
200
Key type. Default is DSA.
206
<term><literal>-l</literal>, <literal>--length
207
<replaceable>bits</replaceable></literal></term>
210
Key length in bits. Default is 1024.
216
<term><literal>-e</literal>, <literal>--email</literal>
217
<replaceable>address</replaceable></term>
220
Email address of key. Default is empty.
226
<term><literal>-c</literal>, <literal>--comment</literal>
227
<replaceable>comment</replaceable></term>
230
Comment field for key. The default value is
231
"<literal>Mandos client key</literal>".
237
<term><literal>-x</literal>, <literal>--expire</literal>
238
<replaceable>time</replaceable></term>
241
Key expire time. Default is no expiration. See
242
<citerefentry><refentrytitle>gpg</refentrytitle>
243
<manvolnum>1</manvolnum></citerefentry> for syntax.
249
<term><literal>-f</literal>, <literal>--force</literal></term>
252
Force overwriting old keys.
259
<refsect1 id="exit_status">
260
<title>EXIT STATUS</title>
271
<refsect1 id="notes">
283
<refsect1 id="examples">
284
<title>EXAMPLES</title>
289
<refsect1 id="security">
290
<title>SECURITY</title>
295
<refsect1 id="see_also">
296
<title>SEE ALSO</title>
298
<citerefentry><refentrytitle>password-request</refentrytitle>
299
<manvolnum>8mandos</manvolnum></citerefentry>,
300
<citerefentry><refentrytitle>mandos</refentrytitle>
301
<manvolnum>8</manvolnum></citerefentry>, and
302
<citerefentry><refentrytitle>gpg</refentrytitle>
303
<manvolnum>1</manvolnum></citerefentry>