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"?>
1
<?xml version="1.0" encoding="UTF-8"?>
4
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
5
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
6
4
<!ENTITY VERSION "1.0">
7
5
<!ENTITY COMMANDNAME "mandos-keygen">
8
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
10
<title>&COMMANDNAME;</title>
13
<!-- NWalsh's docbook scripts use this to generate the footer: -->
11
<!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
12
<productname>&COMMANDNAME;</productname>
15
13
<productnumber>&VERSION;</productnumber>
87
86
<replaceable>bits</replaceable></arg>
89
88
<group choice="opt">
89
<arg choice="plain"><option>--subtype</option>
90
<replaceable>type</replaceable></arg>
93
<arg choice="plain"><option>--sublength</option>
94
<replaceable>bits</replaceable></arg>
90
97
<arg choice="plain"><option>--name</option>
91
98
<replaceable>NAME</replaceable></arg>
121
128
<replaceable>bits</replaceable></arg>
123
130
<group choice="opt">
131
<arg choice="plain"><option>-s</option>
132
<replaceable>type</replaceable></arg>
135
<arg choice="plain"><option>-L</option>
136
<replaceable>bits</replaceable></arg>
124
139
<arg choice="plain"><option>-n</option>
125
140
<replaceable>NAME</replaceable></arg>
144
159
<command>&COMMANDNAME;</command>
145
160
<group choice="req">
146
<arg choice='plain'><option>-h</option></arg>
147
<arg choice='plain'><option>--help</option></arg>
161
<arg choice="plain"><option>-h</option></arg>
162
<arg choice="plain"><option>--help</option></arg>
151
166
<command>&COMMANDNAME;</command>
152
167
<group choice="req">
153
<arg choice='plain'><option>-v</option></arg>
154
<arg choice='plain'><option>--version</option></arg>
168
<arg choice="plain"><option>-v</option></arg>
169
<arg choice="plain"><option>--version</option></arg>
157
172
</refsynopsisdiv>
243
<term><literal>-s</literal>, <literal>--subtype
244
<replaceable>type</replaceable></literal></term>
247
Subkey type. Default is <quote>ELG-E</quote> (Elgamal
254
<term><literal>-L</literal>, <literal>--sublength
255
<replaceable>bits</replaceable></literal></term>
258
Subkey length in bits. Default is 2048.
216
264
<term><literal>-e</literal>, <literal>--email</literal>
217
265
<replaceable>address</replaceable></term>
307
<refsect1 id="overview">
308
<title>OVERVIEW</title>
309
<xi:include href="overview.xml"/>
311
This program is a small utility to generate new OpenPGP keys for
259
316
<refsect1 id="exit_status">
260
317
<title>EXIT STATUS</title>
319
The exit status will be 0 if new keys were successfully created,
324
<refsect1 id="environment">
325
<title>ENVIRONMENT</title>
328
<term><varname>TMPDIR</varname></term>
331
If set, temporary files will be created here. See
332
<citerefentry><refentrytitle>mktemp</refentrytitle>
333
<manvolnum>1</manvolnum></citerefentry>.
265
340
<refsect1 id="file">
266
341
<title>FILES</title>
343
Use the <option>--dir</option> option to change where
344
<command>&COMMANDNAME;</command> will write the key files. The
345
default file names are shown here.
349
<term><filename>/etc/mandos/seckey.txt</filename></term>
352
OpenPGP secret key file which will be created or
358
<term><filename>/etc/mandos/pubkey.txt</filename></term>
361
OpenPGP public key file which will be created or
367
<term><filename>/tmp</filename></term>
370
Temporary files will be written here if
371
<varname>TMPDIR</varname> is not set.
271
378
<refsect1 id="bugs">
272
379
<title>BUGS</title>
381
None are known at this time.
277
<refsect1 id="examples">
278
<title>EXAMPLES</title>
385
<refsect1 id="example">
386
<title>EXAMPLE</title>
389
Normal invocation needs no options:
392
<userinput>mandos-keygen</userinput>
397
Create keys in another directory and of another type. Force
398
overwriting old key files:
402
<!-- do not wrap this line -->
403
<userinput>mandos-keygen --dir ~/keydir --type RSA --force</userinput>
283
409
<refsect1 id="security">
284
410
<title>SECURITY</title>
412
The <option>--type</option>, <option>--length</option>,
413
<option>--subtype</option>, and <option>--sublength</option>
414
options can be used to create keys of insufficient security. If
415
in doubt, leave them to the default values.
418
The key expire time is not guaranteed to be honored by
419
<citerefentry><refentrytitle>mandos</refentrytitle>
420
<manvolnum>8</manvolnum></citerefentry>.
292
427
<citerefentry><refentrytitle>password-request</refentrytitle>
293
428
<manvolnum>8mandos</manvolnum></citerefentry>,
294
429
<citerefentry><refentrytitle>mandos</refentrytitle>
295
<manvolnum>8</manvolnum></citerefentry>, and
430
<manvolnum>8</manvolnum></citerefentry>,
296
431
<citerefentry><refentrytitle>gpg</refentrytitle>
297
432
<manvolnum>1</manvolnum></citerefentry>