1 /* -*- Mode
: Text
-*- */
3 autogen definitions options
;
7 #include autogen
-version.def
9 prog
-name
= "ntp-keygen";
10 prog
-title
= "Create a NTP host key";
15 include
= '#include <stdlib.h>';
24 descrip
= "certificate scheme";
27 RSA
-MD2
, RSA
-MD5
, RSA
-SHA
, RSA
-SHA1
, RSA
-MDC2
, RSA
-RIPEMD160
,
30 Select the certificate message digest
/signature encryption scheme.
31 Note that RSA schemes must be used with a RSA sign key and DSA
32 schemes must be used with a DSA sign key. The default without
33 this option is RSA
-MD5.
37 #include debug
-opt.def
43 descrip
= "Write IFF or GQ identity keys";
45 Write the IFF or GQ client keys to the standard output. This is
46 intended for automatic key distribution by mail.
54 descrip
= "Generate GQ parameters and keys";
56 Generate parameters and keys for the GQ identification scheme
,
57 obsoleting any that may exist.
65 descrip
= "generate RSA host key";
67 Generate new host keys
, obsoleting any that may exist.
75 descrip
= "generate IFF parameters";
77 Generate parameters for the IFF identification scheme
, obsoleting
87 arg
-name
= issuer
-name
;
88 descrip
= "set issuer name";
90 Set the suject name to name. This is used as the subject field
91 in certificates and in the file name for host and sign keys.
98 descrip
= "generate MD5 keys";
100 Generate MD5 keys
, obsoleting any that may exist.
109 arg
-range
= '256->2048';
113 The number of bits in the prime modulus. The default is
512.
121 descrip
= "generate PC private certificate";
123 Generate a private certificate. By default
, the program generates
134 descrip
= "output private password";
136 Encrypt generated files containing private data with the specified
137 password and the DES
-CBC algorithm.
143 name
= get
-pvt
-passwd
;
147 descrip
= "input private password";
149 Set the password for reading files to the specified password.
159 descrip
= "generate sign key (RSA or DSA)";
161 Generate a new sign key of the designated type
, obsoleting any
162 that may exist. By default
, the program uses the host key as the
173 descrip
= "set subject name";
175 Set the issuer name to name. This is used for the issuer field
176 in certificates and in the file name for identity files.
184 descrip
= "trusted certificate (TC scheme)";
186 Generate a trusted certificate. By default
, the program generates
187 a non
-trusted certificate.
197 descrip
= "generate <num> MV parameters";
199 Generate parameters and keys for the Mu
-Varadharajan (MV
)
200 identification scheme.
210 descrip
= "update <num> MV keys";
213 detail
= <<- _EODetail_
214 If there is no new host key
, look for an existing one.
215 If one is not found
, create it.