/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-keygen.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-08-18 03:50:28 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080818035028-su31apqs2pv2147v
* mandos-keygen.xml: Removed <?xml-stylesheet>.  New entity
                     "&OVERVIEW;" referring to "overview.xml".
  (PURPOSE, OVERVIEW): New sections, same as in mandos(8).
  (EXAMPLES): Renamed to "EXAMPLE", as per man-pages(7).

* mandos.xml (OPTIONS, CLIENTS): Slight wording change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
6
7
]>
7
8
 
8
 
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
 
9
<refentry>
9
10
  <refentryinfo>
10
11
    <title>&COMMANDNAME;</title>
11
12
    <!-- NWalsh's docbook scripts use this to generate the footer: -->
268
269
 
269
270
  <refsect1 id="overview">
270
271
    <title>OVERVIEW</title>
271
 
    <xi:include href="overview.xml"/>
 
272
    &OVERVIEW;
272
273
    <para>
273
274
      This program is a small program to generate new OpenPGP keys for
274
275
      new Mandos clients.
278
279
  <refsect1 id="exit_status">
279
280
    <title>EXIT STATUS</title>
280
281
    <para>
281
 
      The exit status will be 0 if new keys were successfully created,
282
 
      otherwise not.
283
282
    </para>
284
283
  </refsect1>
285
284
  
286
 
  <refsect1 id="environment">
287
 
    <title>ENVIRONMENT</title>
288
 
    <variablelist>
289
 
      <varlistentry>
290
 
        <term><varname>TMPDIR</varname></term>
291
 
        <listitem>
292
 
          <para>
293
 
            If set, temporary files will be created here. See
294
 
            <citerefentry><refentrytitle>mktemp</refentrytitle>
295
 
            <manvolnum>1</manvolnum></citerefentry>.
296
 
          </para>
297
 
        </listitem>
298
 
      </varlistentry>
299
 
    </variablelist>
300
 
  </refsect1>
301
 
  
302
285
  <refsect1 id="file">
303
286
    <title>FILES</title>
304
287
    <para>
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.
308
288
    </para>
309
 
    <variablelist>
310
 
      <varlistentry>
311
 
        <term><filename>/etc/mandos/seckey.txt</filename></term>
312
 
        <listitem>
313
 
          <para>
314
 
            OpenPGP secret key file which will be created or
315
 
            overwritten.
316
 
          </para>
317
 
        </listitem>
318
 
      </varlistentry>
319
 
      <varlistentry>
320
 
        <term><filename>/etc/mandos/pubkey.txt</filename></term>
321
 
        <listitem>
322
 
          <para>
323
 
            OpenPGP public key file which will be created or
324
 
            overwritten.
325
 
          </para>
326
 
        </listitem>
327
 
      </varlistentry>
328
 
      <varlistentry>
329
 
        <term><filename>/tmp</filename></term>
330
 
        <listitem>
331
 
          <para>
332
 
            Temporary files will be written here if
333
 
            <varname>TMPDIR</varname> is not set.
334
 
          </para>
335
 
        </listitem>
336
 
      </varlistentry>
337
 
    </variablelist>
338
289
  </refsect1>
339
290
 
340
291
  <refsect1 id="bugs">
341
292
    <title>BUGS</title>
342
293
    <para>
343
 
      None are known at this time.
344
294
    </para>
345
295
  </refsect1>
346
296
 
347
297
  <refsect1 id="example">
348
298
    <title>EXAMPLE</title>
349
 
    <informalexample>
350
 
      <para>
351
 
        Normal invocation needs no options:
352
 
      </para>
353
 
      <para>
354
 
        <userinput>mandos-keygen</userinput>
355
 
      </para>
356
 
    </informalexample>
357
 
    <informalexample>
358
 
      <para>
359
 
        Create keys in another directory and of another type.  Force
360
 
        overwriting old key files:
361
 
      </para>
362
 
      <para>
363
 
 
364
 
<!-- do not wrap this line -->
365
 
<userinput>mandos-keygen --dir ~/keydir --type RSA --force</userinput>
366
 
 
367
 
      </para>
368
 
    </informalexample>
 
299
    <para>
 
300
    </para>
369
301
  </refsect1>
370
302
 
371
303
  <refsect1 id="security">
372
304
    <title>SECURITY</title>
373
305
    <para>
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.
377
 
    </para>
378
 
    <para>
379
 
      The key expire time is not guaranteed to be honored by
380
 
      <citerefentry><refentrytitle>mandos</refentrytitle>
381
 
      <manvolnum>8</manvolnum></citerefentry>.
382
306
    </para>
383
307
  </refsect1>
384
308