3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY VERSION "1.0">
5
5
<!ENTITY COMMANDNAME "mandos-keygen">
6
<!ENTITY OVERVIEW SYSTEM "overview.xml">
8
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
10
11
<title>&COMMANDNAME;</title>
11
12
<!-- NWalsh's docbook scripts use this to generate the footer: -->
278
279
<refsect1 id="exit_status">
279
280
<title>EXIT STATUS</title>
281
The exit status will be 0 if new keys were successfully created,
286
<refsect1 id="environment">
287
<title>ENVIRONMENT</title>
290
<term><varname>TMPDIR</varname></term>
293
If set, temporary files will be created here. See
294
<citerefentry><refentrytitle>mktemp</refentrytitle>
295
<manvolnum>1</manvolnum></citerefentry>.
302
285
<refsect1 id="file">
303
286
<title>FILES</title>
305
Use the <option>--dir</option> option to change where
306
<command>&COMMANDNAME;</command> will write the key files. The
307
default file names are shown here.
311
<term><filename>/etc/mandos/seckey.txt</filename></term>
314
OpenPGP secret key file which will be created or
320
<term><filename>/etc/mandos/pubkey.txt</filename></term>
323
OpenPGP public key file which will be created or
329
<term><filename>/tmp</filename></term>
332
Temporary files will be written here if
333
<varname>TMPDIR</varname> is not set.
340
291
<refsect1 id="bugs">
341
292
<title>BUGS</title>
343
None are known at this time.
347
297
<refsect1 id="example">
348
298
<title>EXAMPLE</title>
351
Normal invocation needs no options:
354
<userinput>mandos-keygen</userinput>
359
Create keys in another directory and of another type. Force
360
overwriting old key files:
364
<!-- do not wrap this line -->
365
<userinput>mandos-keygen --dir ~/keydir --type RSA --force</userinput>
371
303
<refsect1 id="security">
372
304
<title>SECURITY</title>
374
The <option>--type</option> and <option>--length</option>
375
options can be used to create keys of insufficient security. If
376
in doubt, leave them to the default values.
379
The key expire time is not guaranteed to be honored by
380
<citerefentry><refentrytitle>mandos</refentrytitle>
381
<manvolnum>8</manvolnum></citerefentry>.