/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 08:47:38 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080831084738-uu70kayyt876982d
* mandos-keygen: Minor help text change.

* mandos-keygen.xml: Changed plural "keys" to singular "key"
                     throughout.
  (NAME): Improved wording.
  (DESCRIPTION): Improved wording.
  (OPTIONS): Split options in <term> tags into separate <term> tags.
             Use <option> tags.  Move long options before short
             options.  Uppercase replaceables.
  (OVERVIEW): Improved wording.
  (EXIT STATUS): Also cover --password option.
  (EXAMPLE): Add two examples using the --password option.
  (SECURITY): Improved wording.

* overview.xml: Improved wording.

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 "2011-10-03">
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
34
      <holder>Teddy Hogeborn</holder>
38
35
      <holder>Björn Påhlsson</holder>
39
36
    </copyright>
40
 
    <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>
41
60
  </refentryinfo>
42
 
  
 
61
 
43
62
  <refmeta>
44
63
    <refentrytitle>&COMMANDNAME;</refentrytitle>
45
64
    <manvolnum>8</manvolnum>
51
70
      Generate key and password for Mandos client and server.
52
71
    </refpurpose>
53
72
  </refnamediv>
54
 
  
 
73
 
55
74
  <refsynopsisdiv>
56
75
    <cmdsynopsis>
57
76
      <command>&COMMANDNAME;</command>
125
144
      <group choice="req">
126
145
        <arg choice="plain"><option>--password</option></arg>
127
146
        <arg choice="plain"><option>-p</option></arg>
128
 
        <arg choice="plain"><option>--passfile
129
 
        <replaceable>FILE</replaceable></option></arg>
130
 
        <arg choice="plain"><option>-F</option>
131
 
        <replaceable>FILE</replaceable></arg>
132
147
      </group>
133
148
      <sbr/>
134
149
      <group>
166
181
    <para>
167
182
      <command>&COMMANDNAME;</command> is a program to generate the
168
183
      OpenPGP key used by
169
 
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
184
      <citerefentry><refentrytitle>password-request</refentrytitle>
170
185
      <manvolnum>8mandos</manvolnum></citerefentry>.  The key is
171
186
      normally written to /etc/mandos for later installation into the
172
187
      initrd image, but this, and most other things, can be changed
174
189
    </para>
175
190
    <para>
176
191
      This program can also be used with the
177
 
      <option>--password</option> or <option>--passfile</option>
178
 
      options to generate a ready-made section for
179
 
      <filename>clients.conf</filename> (see
 
192
      <option>--password</option> option to generate a ready-made
 
193
      section for <filename>clients.conf</filename> (see
180
194
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
181
195
      <manvolnum>5</manvolnum></citerefentry>).
182
196
    </para>
205
219
          </para>
206
220
        </listitem>
207
221
      </varlistentry>
208
 
      
 
222
 
209
223
      <varlistentry>
210
224
        <term><option>--dir
211
225
        <replaceable>DIRECTORY</replaceable></option></term>
218
232
          </para>
219
233
        </listitem>
220
234
      </varlistentry>
221
 
      
 
235
 
222
236
      <varlistentry>
223
237
        <term><option>--type
224
238
        <replaceable>TYPE</replaceable></option></term>
230
244
          </para>
231
245
        </listitem>
232
246
      </varlistentry>
233
 
      
 
247
 
234
248
      <varlistentry>
235
249
        <term><option>--length
236
250
        <replaceable>BITS</replaceable></option></term>
242
256
          </para>
243
257
        </listitem>
244
258
      </varlistentry>
245
 
      
 
259
 
246
260
      <varlistentry>
247
261
        <term><option>--subtype
248
262
        <replaceable>KEYTYPE</replaceable></option></term>
255
269
          </para>
256
270
        </listitem>
257
271
      </varlistentry>
258
 
      
 
272
 
259
273
      <varlistentry>
260
274
        <term><option>--sublength
261
275
        <replaceable>BITS</replaceable></option></term>
267
281
          </para>
268
282
        </listitem>
269
283
      </varlistentry>
270
 
      
 
284
 
271
285
      <varlistentry>
272
286
        <term><option>--email
273
287
        <replaceable>ADDRESS</replaceable></option></term>
279
293
          </para>
280
294
        </listitem>
281
295
      </varlistentry>
282
 
      
 
296
 
283
297
      <varlistentry>
284
298
        <term><option>--comment
285
299
        <replaceable>TEXT</replaceable></option></term>
292
306
          </para>
293
307
        </listitem>
294
308
      </varlistentry>
295
 
      
 
309
 
296
310
      <varlistentry>
297
311
        <term><option>--expire
298
312
        <replaceable>TIME</replaceable></option></term>
306
320
          </para>
307
321
        </listitem>
308
322
      </varlistentry>
309
 
      
 
323
 
310
324
      <varlistentry>
311
325
        <term><option>--force</option></term>
312
326
        <term><option>-f</option></term>
334
348
          </para>
335
349
        </listitem>
336
350
      </varlistentry>
337
 
      <varlistentry>
338
 
        <term><option>--passfile
339
 
        <replaceable>FILE</replaceable></option></term>
340
 
        <term><option>-F
341
 
        <replaceable>FILE</replaceable></option></term>
342
 
        <listitem>
343
 
          <para>
344
 
            The same as <option>--password</option>, but read from
345
 
            <replaceable>FILE</replaceable>, not the terminal.
346
 
          </para>
347
 
        </listitem>
348
 
      </varlistentry>
349
351
    </variablelist>
350
352
  </refsect1>
351
 
  
 
353
 
352
354
  <refsect1 id="overview">
353
355
    <title>OVERVIEW</title>
354
356
    <xi:include href="overview.xml"/>
358
360
      <filename>clients.conf</filename> on the server.
359
361
    </para>
360
362
  </refsect1>
361
 
  
 
363
 
362
364
  <refsect1 id="exit_status">
363
365
    <title>EXIT STATUS</title>
364
366
    <para>
384
386
    </variablelist>
385
387
  </refsect1>
386
388
  
387
 
  <refsect1 id="files">
 
389
  <refsect1 id="file">
388
390
    <title>FILES</title>
389
391
    <para>
390
392
      Use the <option>--dir</option> option to change where
421
423
      </varlistentry>
422
424
    </variablelist>
423
425
  </refsect1>
424
 
  
425
 
<!--   <refsect1 id="bugs"> -->
426
 
<!--     <title>BUGS</title> -->
427
 
<!--     <para> -->
428
 
<!--     </para> -->
429
 
<!--   </refsect1> -->
430
 
  
 
426
 
 
427
  <refsect1 id="bugs">
 
428
    <title>BUGS</title>
 
429
    <para>
 
430
      None are known at this time.
 
431
    </para>
 
432
  </refsect1>
 
433
 
431
434
  <refsect1 id="example">
432
435
    <title>EXAMPLE</title>
433
436
    <informalexample>
474
477
      </para>
475
478
    </informalexample>
476
479
  </refsect1>
477
 
  
 
480
 
478
481
  <refsect1 id="security">
479
482
    <title>SECURITY</title>
480
483
    <para>
489
492
      <manvolnum>8</manvolnum></citerefentry>.
490
493
    </para>
491
494
  </refsect1>
492
 
  
 
495
 
493
496
  <refsect1 id="see_also">
494
497
    <title>SEE ALSO</title>
495
498
    <para>
496
 
      <citerefentry><refentrytitle>intro</refentrytitle>
497
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
498
499
      <citerefentry><refentrytitle>gpg</refentrytitle>
499
500
      <manvolnum>1</manvolnum></citerefentry>,
500
501
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
501
502
      <manvolnum>5</manvolnum></citerefentry>,
502
503
      <citerefentry><refentrytitle>mandos</refentrytitle>
503
504
      <manvolnum>8</manvolnum></citerefentry>,
504
 
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
505
      <citerefentry><refentrytitle>password-request</refentrytitle>
505
506
      <manvolnum>8mandos</manvolnum></citerefentry>
506
507
    </para>
507
508
  </refsect1>