279
279
<refsect1 id="exit_status">
280
280
<title>EXIT STATUS</title>
282
The exit status will be 0 if new keys were successfully created,
287
<refsect1 id="environment">
288
<title>ENVIRONMENT</title>
291
<term><varname>TMPDIR</varname></term>
294
If set, temporary files will be created here. See
295
<citerefentry><refentrytitle>mktemp</refentrytitle>
296
<manvolnum>1</manvolnum></citerefentry>.
285
303
<refsect1 id="file">
286
304
<title>FILES</title>
306
Use the <option>--dir</option> option to change where
307
<command>&COMMANDNAME;</command> will write the key files. The
308
default file names are shown here.
312
<term><filename>/etc/mandos/seckey.txt</filename></term>
315
OpenPGP secret key file which will be created or
321
<term><filename>/etc/mandos/pubkey.txt</filename></term>
324
OpenPGP public key file which will be created or
330
<term><filename>/tmp</filename></term>
333
Temporary files will be written here if
334
<varname>TMPDIR</varname> is not set.
291
341
<refsect1 id="bugs">
292
342
<title>BUGS</title>
344
None are known at this time.
297
348
<refsect1 id="example">
298
349
<title>EXAMPLE</title>
352
Normal invocation needs no options:
355
<userinput>mandos-keygen</userinput>
360
Create keys in another directory and of another type. Force
361
overwriting old key files:
365
<!-- do not wrap this line -->
366
<userinput>mandos-keygen --dir ~/keydir --type RSA --force</userinput>
303
372
<refsect1 id="security">
304
373
<title>SECURITY</title>
375
The <option>--type</option> and <option>--length</option>
376
options can be used to create keys of insufficient security. If
377
in doubt, leave them to the default values.
380
The key expire time is not guaranteed to be honored by
381
<citerefentry><refentrytitle>mandos</refentrytitle>
382
<manvolnum>8</manvolnum></citerefentry>.