/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-31 10:27:33 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080831102733-2u083dacxul80ynp
* plugin-runner.xml (OPTIONS): Use <option> tags instead of
                               <literal>.  Split <term> tags into one
                               for each option.  Moved long options
                               before short.

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 "2012-01-01">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
 
6
<!ENTITY TIMESTAMP "2008-08-31">
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>2011</year>
37
 
      <year>2012</year>
38
34
      <holder>Teddy Hogeborn</holder>
39
35
      <holder>Björn Påhlsson</holder>
40
36
    </copyright>
41
 
    <xi:include href="legalnotice.xml"/>
 
37
    <legalnotice>
 
38
      <para>
 
39
        This manual page is free software: you can redistribute it
 
40
        and/or modify it under the terms of the GNU General Public
 
41
        License as published by the Free Software Foundation,
 
42
        either version 3 of the License, or (at your option) any
 
43
        later version.
 
44
      </para>
 
45
 
 
46
      <para>
 
47
        This manual page is distributed in the hope that it will
 
48
        be useful, but WITHOUT ANY WARRANTY; without even the
 
49
        implied warranty of MERCHANTABILITY or FITNESS FOR A
 
50
        PARTICULAR PURPOSE.  See the GNU General Public License
 
51
        for more details.
 
52
      </para>
 
53
 
 
54
      <para>
 
55
        You should have received a copy of the GNU General Public
 
56
        License along with this program; If not, see
 
57
        <ulink url="http://www.gnu.org/licenses/"/>.
 
58
      </para>
 
59
    </legalnotice>
42
60
  </refentryinfo>
43
 
  
 
61
 
44
62
  <refmeta>
45
63
    <refentrytitle>&COMMANDNAME;</refentrytitle>
46
64
    <manvolnum>8</manvolnum>
52
70
      Generate key and password for Mandos client and server.
53
71
    </refpurpose>
54
72
  </refnamediv>
55
 
  
 
73
 
56
74
  <refsynopsisdiv>
57
75
    <cmdsynopsis>
58
76
      <command>&COMMANDNAME;</command>
126
144
      <group choice="req">
127
145
        <arg choice="plain"><option>--password</option></arg>
128
146
        <arg choice="plain"><option>-p</option></arg>
129
 
        <arg choice="plain"><option>--passfile
130
 
        <replaceable>FILE</replaceable></option></arg>
131
 
        <arg choice="plain"><option>-F</option>
132
 
        <replaceable>FILE</replaceable></arg>
133
147
      </group>
134
148
      <sbr/>
135
149
      <group>
167
181
    <para>
168
182
      <command>&COMMANDNAME;</command> is a program to generate the
169
183
      OpenPGP key used by
170
 
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
184
      <citerefentry><refentrytitle>password-request</refentrytitle>
171
185
      <manvolnum>8mandos</manvolnum></citerefentry>.  The key is
172
186
      normally written to /etc/mandos for later installation into the
173
187
      initrd image, but this, and most other things, can be changed
175
189
    </para>
176
190
    <para>
177
191
      This program can also be used with the
178
 
      <option>--password</option> or <option>--passfile</option>
179
 
      options to generate a ready-made section for
180
 
      <filename>clients.conf</filename> (see
 
192
      <option>--password</option> option to generate a ready-made
 
193
      section for <filename>clients.conf</filename> (see
181
194
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
182
195
      <manvolnum>5</manvolnum></citerefentry>).
183
196
    </para>
206
219
          </para>
207
220
        </listitem>
208
221
      </varlistentry>
209
 
      
 
222
 
210
223
      <varlistentry>
211
224
        <term><option>--dir
212
225
        <replaceable>DIRECTORY</replaceable></option></term>
215
228
        <listitem>
216
229
          <para>
217
230
            Target directory for key files.  Default is
218
 
            <filename class="directory">/etc/mandos</filename>.
 
231
            <filename>/etc/mandos</filename>.
219
232
          </para>
220
233
        </listitem>
221
234
      </varlistentry>
222
 
      
 
235
 
223
236
      <varlistentry>
224
237
        <term><option>--type
225
238
        <replaceable>TYPE</replaceable></option></term>
231
244
          </para>
232
245
        </listitem>
233
246
      </varlistentry>
234
 
      
 
247
 
235
248
      <varlistentry>
236
249
        <term><option>--length
237
250
        <replaceable>BITS</replaceable></option></term>
243
256
          </para>
244
257
        </listitem>
245
258
      </varlistentry>
246
 
      
 
259
 
247
260
      <varlistentry>
248
261
        <term><option>--subtype
249
262
        <replaceable>KEYTYPE</replaceable></option></term>
256
269
          </para>
257
270
        </listitem>
258
271
      </varlistentry>
259
 
      
 
272
 
260
273
      <varlistentry>
261
274
        <term><option>--sublength
262
275
        <replaceable>BITS</replaceable></option></term>
268
281
          </para>
269
282
        </listitem>
270
283
      </varlistentry>
271
 
      
 
284
 
272
285
      <varlistentry>
273
286
        <term><option>--email
274
287
        <replaceable>ADDRESS</replaceable></option></term>
280
293
          </para>
281
294
        </listitem>
282
295
      </varlistentry>
283
 
      
 
296
 
284
297
      <varlistentry>
285
298
        <term><option>--comment
286
299
        <replaceable>TEXT</replaceable></option></term>
293
306
          </para>
294
307
        </listitem>
295
308
      </varlistentry>
296
 
      
 
309
 
297
310
      <varlistentry>
298
311
        <term><option>--expire
299
312
        <replaceable>TIME</replaceable></option></term>
307
320
          </para>
308
321
        </listitem>
309
322
      </varlistentry>
310
 
      
 
323
 
311
324
      <varlistentry>
312
325
        <term><option>--force</option></term>
313
326
        <term><option>-f</option></term>
335
348
          </para>
336
349
        </listitem>
337
350
      </varlistentry>
338
 
      <varlistentry>
339
 
        <term><option>--passfile
340
 
        <replaceable>FILE</replaceable></option></term>
341
 
        <term><option>-F
342
 
        <replaceable>FILE</replaceable></option></term>
343
 
        <listitem>
344
 
          <para>
345
 
            The same as <option>--password</option>, but read from
346
 
            <replaceable>FILE</replaceable>, not the terminal.
347
 
          </para>
348
 
        </listitem>
349
 
      </varlistentry>
350
351
    </variablelist>
351
352
  </refsect1>
352
 
  
 
353
 
353
354
  <refsect1 id="overview">
354
355
    <title>OVERVIEW</title>
355
356
    <xi:include href="overview.xml"/>
359
360
      <filename>clients.conf</filename> on the server.
360
361
    </para>
361
362
  </refsect1>
362
 
  
 
363
 
363
364
  <refsect1 id="exit_status">
364
365
    <title>EXIT STATUS</title>
365
366
    <para>
385
386
    </variablelist>
386
387
  </refsect1>
387
388
  
388
 
  <refsect1 id="files">
 
389
  <refsect1 id="file">
389
390
    <title>FILES</title>
390
391
    <para>
391
392
      Use the <option>--dir</option> option to change where
412
413
        </listitem>
413
414
      </varlistentry>
414
415
      <varlistentry>
415
 
        <term><filename class="directory">/tmp</filename></term>
 
416
        <term><filename>/tmp</filename></term>
416
417
        <listitem>
417
418
          <para>
418
419
            Temporary files will be written here if
422
423
      </varlistentry>
423
424
    </variablelist>
424
425
  </refsect1>
425
 
  
426
 
<!--   <refsect1 id="bugs"> -->
427
 
<!--     <title>BUGS</title> -->
428
 
<!--     <para> -->
429
 
<!--     </para> -->
430
 
<!--   </refsect1> -->
431
 
  
 
426
 
 
427
  <refsect1 id="bugs">
 
428
    <title>BUGS</title>
 
429
    <para>
 
430
      None are known at this time.
 
431
    </para>
 
432
  </refsect1>
 
433
 
432
434
  <refsect1 id="example">
433
435
    <title>EXAMPLE</title>
434
436
    <informalexample>
453
455
    </informalexample>
454
456
    <informalexample>
455
457
      <para>
456
 
        Prompt for a password, encrypt it with the key in <filename
457
 
        class="directory">/etc/mandos</filename> and output a section
458
 
        suitable for <filename>clients.conf</filename>.
 
458
        Prompt for a password, encrypt it with the key in
 
459
        <filename>/etc/mandos</filename> and output a section suitable
 
460
        for <filename>clients.conf</filename>.
459
461
      </para>
460
462
      <para>
461
463
        <userinput>&COMMANDNAME; --password</userinput>
475
477
      </para>
476
478
    </informalexample>
477
479
  </refsect1>
478
 
  
 
480
 
479
481
  <refsect1 id="security">
480
482
    <title>SECURITY</title>
481
483
    <para>
490
492
      <manvolnum>8</manvolnum></citerefentry>.
491
493
    </para>
492
494
  </refsect1>
493
 
  
 
495
 
494
496
  <refsect1 id="see_also">
495
497
    <title>SEE ALSO</title>
496
498
    <para>
497
 
      <citerefentry><refentrytitle>intro</refentrytitle>
498
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
499
499
      <citerefentry><refentrytitle>gpg</refentrytitle>
500
500
      <manvolnum>1</manvolnum></citerefentry>,
501
501
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
502
502
      <manvolnum>5</manvolnum></citerefentry>,
503
503
      <citerefentry><refentrytitle>mandos</refentrytitle>
504
504
      <manvolnum>8</manvolnum></citerefentry>,
505
 
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
505
      <citerefentry><refentrytitle>password-request</refentrytitle>
506
506
      <manvolnum>8mandos</manvolnum></citerefentry>
507
507
    </para>
508
508
  </refsect1>