/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-09-21 14:05:44 UTC
  • mfrom: (24.1.103 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080921140544-e9qo7alcl0bne2mn
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
4
<!ENTITY VERSION "1.0">
4
5
<!ENTITY COMMANDNAME "mandos-keygen">
5
 
<!ENTITY TIMESTAMP "2018-02-08">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
 
6
<!ENTITY TIMESTAMP "2008-09-20">
8
7
]>
9
8
 
10
9
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
11
    <title>Mandos Manual</title>
13
12
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
13
    <productname>Mandos</productname>
15
 
    <productnumber>&version;</productnumber>
 
14
    <productnumber>&VERSION;</productnumber>
16
15
    <date>&TIMESTAMP;</date>
17
16
    <authorgroup>
18
17
      <author>
19
18
        <firstname>Björn</firstname>
20
19
        <surname>Påhlsson</surname>
21
20
        <address>
22
 
          <email>belorn@recompile.se</email>
 
21
          <email>belorn@fukt.bsnet.se</email>
23
22
        </address>
24
23
      </author>
25
24
      <author>
26
25
        <firstname>Teddy</firstname>
27
26
        <surname>Hogeborn</surname>
28
27
        <address>
29
 
          <email>teddy@recompile.se</email>
 
28
          <email>teddy@fukt.bsnet.se</email>
30
29
        </address>
31
30
      </author>
32
31
    </authorgroup>
33
32
    <copyright>
34
33
      <year>2008</year>
35
 
      <year>2009</year>
36
 
      <year>2010</year>
37
 
      <year>2011</year>
38
 
      <year>2012</year>
39
 
      <year>2013</year>
40
 
      <year>2014</year>
41
 
      <year>2015</year>
42
 
      <year>2016</year>
43
 
      <year>2017</year>
44
 
      <year>2018</year>
45
34
      <holder>Teddy Hogeborn</holder>
46
35
      <holder>Björn Påhlsson</holder>
47
36
    </copyright>
126
115
        <replaceable>TIME</replaceable></option></arg>
127
116
      </group>
128
117
      <sbr/>
129
 
      <group>
130
 
        <arg choice="plain"><option>--force</option></arg>
131
 
        <arg choice="plain"><option>-f</option></arg>
132
 
      </group>
 
118
      <arg><option>--force</option></arg>
133
119
    </cmdsynopsis>
134
120
    <cmdsynopsis>
135
121
      <command>&COMMANDNAME;</command>
155
141
        <arg choice="plain"><option>-n
156
142
        <replaceable>NAME</replaceable></option></arg>
157
143
      </group>
158
 
      <group>
159
 
        <arg choice="plain"><option>--no-ssh</option></arg>
160
 
        <arg choice="plain"><option>-S</option></arg>
161
 
      </group>
162
144
    </cmdsynopsis>
163
145
    <cmdsynopsis>
164
146
      <command>&COMMANDNAME;</command>
229
211
        <listitem>
230
212
          <para>
231
213
            Target directory for key files.  Default is
232
 
            <filename class="directory">/etc/mandos</filename>.
 
214
            <filename>/etc/mandos</filename>.
233
215
          </para>
234
216
        </listitem>
235
217
      </varlistentry>
241
223
        <replaceable>TYPE</replaceable></option></term>
242
224
        <listitem>
243
225
          <para>
244
 
            Key type.  Default is <quote>RSA</quote>.
 
226
            Key type.  Default is <quote>DSA</quote>.
245
227
          </para>
246
228
        </listitem>
247
229
      </varlistentry>
253
235
        <replaceable>BITS</replaceable></option></term>
254
236
        <listitem>
255
237
          <para>
256
 
            Key length in bits.  Default is 4096.
 
238
            Key length in bits.  Default is 2048.
257
239
          </para>
258
240
        </listitem>
259
241
      </varlistentry>
265
247
        <replaceable>KEYTYPE</replaceable></option></term>
266
248
        <listitem>
267
249
          <para>
268
 
            Subkey type.  Default is <quote>RSA</quote> (Elgamal
 
250
            Subkey type.  Default is <quote>ELG-E</quote> (Elgamal
269
251
            encryption-only).
270
252
          </para>
271
253
        </listitem>
278
260
        <replaceable>BITS</replaceable></option></term>
279
261
        <listitem>
280
262
          <para>
281
 
            Subkey length in bits.  Default is 4096.
 
263
            Subkey length in bits.  Default is 2048.
282
264
          </para>
283
265
        </listitem>
284
266
      </varlistentry>
302
284
        <replaceable>TEXT</replaceable></option></term>
303
285
        <listitem>
304
286
          <para>
305
 
            Comment field for key.  Default is empty.
 
287
            Comment field for key.  The default value is
 
288
            <quote><literal>Mandos client key</literal></quote>.
306
289
          </para>
307
290
        </listitem>
308
291
      </varlistentry>
360
343
          </para>
361
344
        </listitem>
362
345
      </varlistentry>
363
 
      <varlistentry>
364
 
        <term><option>--no-ssh</option></term>
365
 
        <term><option>-S</option></term>
366
 
        <listitem>
367
 
          <para>
368
 
            When <option>--password</option> or
369
 
            <option>--passfile</option> is given, this option will
370
 
            prevent <command>&COMMANDNAME;</command> from calling
371
 
            <command>ssh-keyscan</command> to get an SSH fingerprint
372
 
            for this host and, if successful, output suitable config
373
 
            options to use this fingerprint as a
374
 
            <option>checker</option> option in the output.  This is
375
 
            otherwise the default behavior.
376
 
          </para>
377
 
        </listitem>
378
 
      </varlistentry>
379
346
    </variablelist>
380
347
  </refsect1>
381
348
  
414
381
    </variablelist>
415
382
  </refsect1>
416
383
  
417
 
  <refsect1 id="files">
 
384
  <refsect1 id="file">
418
385
    <title>FILES</title>
419
386
    <para>
420
387
      Use the <option>--dir</option> option to change where
441
408
        </listitem>
442
409
      </varlistentry>
443
410
      <varlistentry>
444
 
        <term><filename class="directory">/tmp</filename></term>
 
411
        <term><filename>/tmp</filename></term>
445
412
        <listitem>
446
413
          <para>
447
414
            Temporary files will be written here if
452
419
    </variablelist>
453
420
  </refsect1>
454
421
  
455
 
  <refsect1 id="bugs">
456
 
    <title>BUGS</title>
457
 
    <xi:include href="bugs.xml"/>
458
 
  </refsect1>
 
422
<!--   <refsect1 id="bugs"> -->
 
423
<!--     <title>BUGS</title> -->
 
424
<!--     <para> -->
 
425
<!--     </para> -->
 
426
<!--   </refsect1> -->
459
427
  
460
428
  <refsect1 id="example">
461
429
    <title>EXAMPLE</title>
481
449
    </informalexample>
482
450
    <informalexample>
483
451
      <para>
484
 
        Prompt for a password, encrypt it with the key in <filename
485
 
        class="directory">/etc/mandos</filename> and output a section
486
 
        suitable for <filename>clients.conf</filename>.
 
452
        Prompt for a password, encrypt it with the key in
 
453
        <filename>/etc/mandos</filename> and output a section suitable
 
454
        for <filename>clients.conf</filename>.
487
455
      </para>
488
456
      <para>
489
457
        <userinput>&COMMANDNAME; --password</userinput>
522
490
  <refsect1 id="see_also">
523
491
    <title>SEE ALSO</title>
524
492
    <para>
525
 
      <citerefentry><refentrytitle>intro</refentrytitle>
526
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
527
493
      <citerefentry><refentrytitle>gpg</refentrytitle>
528
494
      <manvolnum>1</manvolnum></citerefentry>,
529
495
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
531
497
      <citerefentry><refentrytitle>mandos</refentrytitle>
532
498
      <manvolnum>8</manvolnum></citerefentry>,
533
499
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
534
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
535
 
      <citerefentry><refentrytitle>ssh-keyscan</refentrytitle>
536
 
      <manvolnum>1</manvolnum></citerefentry>
 
500
      <manvolnum>8mandos</manvolnum></citerefentry>
537
501
    </para>
538
502
  </refsect1>
539
503