/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-24 06:17:02 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080824061702-zxrru4r1vxmx4tuq
* Makefile (PREFIX, CONFDIR, MANDIR): Use $(DESTDIR).
  (install-server, install-client): Use "install --directory" instead
                                    of mkdir.

* mandos-keygen: New options --subtype and --sublength.
  (trap): Added semicolons and backslashes.
  (gpg): Added "--enable-dsa2" to all invocations.

* mandos-keygen.xml: Changed single quotes to double quotes for
                     consistency.
  (/refentry/refentryinfo/copyright) Split copyright holders.
  (SYNOPSIS): Added "--subtype", "--sublength", "-s", and "-L".
  (OPTIONS): Document the subtype and sublength options.
  (SECURITY): Also note the "--subtype" and "--sublength" options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='UTF-8'?>
 
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
4
<!ENTITY VERSION "1.0">
8
8
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
9
9
  <refentryinfo>
10
10
    <title>&COMMANDNAME;</title>
11
 
    <!-- NWalsh's docbook scripts use this to generate the footer: -->
 
11
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
12
12
    <productname>&COMMANDNAME;</productname>
13
13
    <productnumber>&VERSION;</productnumber>
14
14
    <authorgroup>
29
29
    </authorgroup>
30
30
    <copyright>
31
31
      <year>2008</year>
32
 
      <holder>Teddy Hogeborn &amp; Björn Påhlsson</holder>
 
32
      <holder>Teddy Hogeborn</holder>
 
33
      <holder>Björn Påhlsson</holder>
33
34
    </copyright>
34
35
    <legalnotice>
35
36
      <para>
85
86
        <replaceable>bits</replaceable></arg>
86
87
      </group>
87
88
      <group choice="opt">
 
89
        <arg choice="plain"><option>--subtype</option>
 
90
        <replaceable>type</replaceable></arg>
 
91
      </group>
 
92
      <group choice="opt">
 
93
        <arg choice="plain"><option>--sublength</option>
 
94
        <replaceable>bits</replaceable></arg>
 
95
      </group>
 
96
      <group choice="opt">
88
97
        <arg choice="plain"><option>--name</option>
89
98
        <replaceable>NAME</replaceable></arg>
90
99
      </group>
119
128
        <replaceable>bits</replaceable></arg>
120
129
      </group>
121
130
      <group choice="opt">
 
131
        <arg choice="plain"><option>-s</option>
 
132
        <replaceable>type</replaceable></arg>
 
133
      </group>
 
134
      <group choice="opt">
 
135
        <arg choice="plain"><option>-L</option>
 
136
        <replaceable>bits</replaceable></arg>
 
137
      </group>
 
138
      <group choice="opt">
122
139
        <arg choice="plain"><option>-n</option>
123
140
        <replaceable>NAME</replaceable></arg>
124
141
      </group>
141
158
    <cmdsynopsis>
142
159
      <command>&COMMANDNAME;</command>
143
160
      <group choice="req">
144
 
        <arg choice='plain'><option>-h</option></arg>
145
 
        <arg choice='plain'><option>--help</option></arg>
 
161
        <arg choice="plain"><option>-h</option></arg>
 
162
        <arg choice="plain"><option>--help</option></arg>
146
163
      </group>
147
164
    </cmdsynopsis>
148
165
    <cmdsynopsis>
149
166
      <command>&COMMANDNAME;</command>
150
167
      <group choice="req">
151
 
        <arg choice='plain'><option>-v</option></arg>
152
 
        <arg choice='plain'><option>--version</option></arg>
 
168
        <arg choice="plain"><option>-v</option></arg>
 
169
        <arg choice="plain"><option>--version</option></arg>
153
170
      </group>
154
171
    </cmdsynopsis>
155
172
  </refsynopsisdiv>
207
224
        <replaceable>type</replaceable></literal></term>
208
225
        <listitem>
209
226
          <para>
210
 
            Key type.  Default is DSA.
 
227
            Key type.  Default is <quote>DSA</quote>.
211
228
          </para>
212
229
        </listitem>
213
230
      </varlistentry>
223
240
      </varlistentry>
224
241
 
225
242
      <varlistentry>
 
243
        <term><literal>-s</literal>, <literal>--subtype
 
244
        <replaceable>type</replaceable></literal></term>
 
245
        <listitem>
 
246
          <para>
 
247
            Subkey type.  Default is <quote>ELG-E</quote> (Elgamal
 
248
            encryption-only).
 
249
          </para>
 
250
        </listitem>
 
251
      </varlistentry>
 
252
 
 
253
      <varlistentry>
 
254
        <term><literal>-L</literal>, <literal>--sublength
 
255
        <replaceable>bits</replaceable></literal></term>
 
256
        <listitem>
 
257
          <para>
 
258
            Subkey length in bits.  Default is 2048.
 
259
          </para>
 
260
        </listitem>
 
261
      </varlistentry>
 
262
 
 
263
      <varlistentry>
226
264
        <term><literal>-e</literal>, <literal>--email</literal>
227
265
        <replaceable>address</replaceable></term>
228
266
        <listitem>
238
276
        <listitem>
239
277
          <para>
240
278
            Comment field for key.  The default value is
241
 
            "<literal>Mandos client key</literal>".
 
279
            <quote><literal>Mandos client key</literal></quote>.
242
280
          </para>
243
281
        </listitem>
244
282
      </varlistentry>
270
308
    <title>OVERVIEW</title>
271
309
    <xi:include href="overview.xml"/>
272
310
    <para>
273
 
      This program is a small program to generate new OpenPGP keys for
 
311
      This program is a small utility to generate new OpenPGP keys for
274
312
      new Mandos clients.
275
313
    </para>
276
314
  </refsect1>
371
409
  <refsect1 id="security">
372
410
    <title>SECURITY</title>
373
411
    <para>
374
 
      The <option>--type</option> and <option>--length</option>
 
412
      The <option>--type</option>, <option>--length</option>,
 
413
      <option>--subtype</option>, and <option>--sublength</option>
375
414
      options can be used to create keys of insufficient security.  If
376
415
      in doubt, leave them to the default values.
377
416
    </para>