Lines Matching +full:other +full:- +full:key

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
6 <title>ntp-keygen - generate public and private keys</title>
10 <h3><tt>ntp-keygen</tt> - generate public and private keys</h3>
12 <p>Alice holds the key.</p>
14 <!-- #BeginDate format:En2m -->24-Jul-2018 07:27<!-- #EndDate -->
31 …<p id="intro"><tt>ntp-keygen [ -deGHIMPT ] [ -b <i>modulus</i> ] [ -c [ RSA-MD2 | RSA-MD5 | RSA-SHA
32 | RSA-SHA1 | RSA-MDC2 | RSA-RIPEMD160 | DSA-SHA | DSA-SHA1 ] ]
33 [ -C <i>cipher</i> ] [-i <i>group</i> ] [ -l <em>days</em>]
34 [ -m <i>modulus</i> ] [ -p <i>passwd1</i> ] [ -q <i>passwd2</i> ]
35 [ -S [ RSA | DSA ] ] [ -s <i>host</i> ] [ -V <i>nkeys</i> ]</tt></p>
39 used in symmetric key cryptography and, if the OpenSSL software library
41 and identity keys and parameters used by the Autokey public key
43 compatible with NTPv3. All other files are in PEM-encoded printable ASCII
44 format so they can be embedded as MIME attachments in mail to other
47 containing ten pseudo-random printable ASCII strings suitable for the MD5
49 library is installed, it produces an additional ten hex-encoded random bit
50 strings suitable for the SHA1, AES-128 CMAC, and other message digest
56 <p>The remaining generated files are compatible with other OpenSSL
57 applications and other Public Key Infrastructure (PKI)
61 the identity keys are probably not compatible with anything other than
64 password. The <tt>-p</tt> option specifies the password for local
65 encrypted files and the <tt>-q</tt> option the password for encrypted
79 Other files and links are usually installed
81 in NFS-mounted networks and cannot be changed by shared clients. The
87 stream <tt>stdout</tt> where they can be piped to other applications
97 the <tt>ntp-keygen</tt> command without arguments to generate a
98 default RSA host key and matching RSA-MD5 certificate with expiration
103 as the trusted host (TH) using <tt>ntp-keygen</tt> with
104 the <tt>-T</tt> option and configure it to synchronize from reliable
105 Internet servers. Then configure the other hosts to synchronize to
111 <p>The host key is used to encrypt the cookie when required and so must
112 be RSA type. By default, the host key is also the sign key used to
113 encrypt signatures. A different sign key can be assigned using
114 the <tt>-S</tt> option and this can be either RSA or DSA type. By
116 of sign key type and message digest type supported by the OpenSSL
117 library can be specified using the <tt>-c</tt> option.</p>
120 this program is run. This of course creates a chicken-and-egg problem
122 time should be set by some other means, such as
123 eyeball-and-wristwatch, at least so that the certificate lifetime is
125 to a proventic source, the certificate should be re-generated.</p>
127 the <a href="autokey.html">Autokey Public-Key Authentication</a>
131 <dt><tt>-b <i>modulus</i></tt></dt>
137 …<dt><tt>-c [ RSA-MD2 | RSA-MD5 | RSA-SHA | RSA-SHA1 | RSA-MDC2 | RSA-RIPEMD160 | DSA-SHA | DSA-SHA…
139 Note that RSA schemes must be used with an RSA sign key and DSA
140 schemes must be used with a DSA sign key. The default without this
141 option is <tt>RSA-MD5</tt>. If compatibility with FIPS 140-2 is
142 required, either the <tt>DSA-SHA</tt> or <tt>DSA-SHA1</tt> scheme
144 <dt><tt>-C <i>cipher</i></tt></dt>
145 <dd>Select the OpenSSL cipher to use for password-protected keys.
146 The <tt>openssl -h</tt> command provided with OpenSSL displays
148 is <tt>des-ede3-cbc</tt>.</dd>
149 <dt><tt>-d</tt></dt>
151 produced for eye-friendly billboards.</dd>
152 <dt><tt>-e</tt></dt>
156 <dt><tt>-G</tt></dt>
157 <dd>Generate a new encrypted GQ key file for the Guillou-Quisquater
159 the <tt>-I</tt> and <tt>-V</tt> options.</dd>
160 <dt><tt>-H</tt></dt>
161 <dd>Generate a new encrypted RSA public/private host key file.</dd>
162 <dt><tt>-i <i>group</i></tt></dt>
166 name, if specified using <tt>-i</tt> or using <tt>-s</tt> following
171 <dt><tt>-I</tt></dt>
172 <dd>Generate a new encrypted IFF key file for the Schnorr (IFF)
174 the <tt>-G</tt> and <tt>-V</tt> options.</dd>
175 <dt><tt>-l <i>days</i></tt></dt>
178 <dt><tt>-m <i>modulus</i></tt></dt>
184 <dt><tt>-M</tt></dt>
186 An MD5 key is a string of 20 random printable ASCII characters,
187 while a SHA key is a string of 40 random hex digits. The file can be
188 edited using a text editor to change the key type or key content.
189 This option is mutually exclusive with all other options.</dd>
190 <dt><tt>-P</tt></dt>
194 <dt><tt>-p <i>passwd</i></tt></dt>
197 identify key files. By default, the password is the string returned
199 <dt><tt>-q <i>passwd</i></tt></dt>
202 effect, these files are decrypted with the <tt>-p</tt> password,
203 then encrypted with the <tt>-q</tt> password. By default, the
206 <dt><tt>-S [ RSA | DSA ]</tt></dt>
207 <dd>Generate a new encrypted public/private sign key file of the
208 specified type. By default, the sign key is the host key and has
209 the same type. If compatibly with FIPS 140-2 is required, the sign
210 key type must be <tt>DSA</tt>.</dd>
211 <dt><tt>-s <i>host</i>[@<i>group</i>]</tt></dt>
216 issuer. Specifying <tt>-s @<i>group</i></tt> is allowed, and
218 with <tt>-i <i>group</i></tt>. The group name, or if no group is
223 <dt><tt>-T</tt></dt>
226 <dt><tt>-V <i>nkeys</i></tt></dt>
228 Mu-Varadharajan (MV) identity scheme. This option is mutually
229 exclusive with the <tt>-I</tt> and <tt>-G</tt> options. Note:
234 <p>All cryptographically sound key generation schemes must have means to
236 pseudo-random number generator used by the OpenSSL library routines.
240 must be available when starting the <tt>ntp-keygen</tt> program
244 whether root or some other user. If the <tt>RANDFILE</tt> environment
246 in the user home directory. Since both the <tt>ntp-keygen</tt>
253 form <tt>ntpkey_<i>key</i>_<i>name</i>.<i>fstamp</i></tt>,
254 where <tt><i>key</i></tt> is the key or parameter
257 file was created). By convention, <em><tt>key</tt></em> names in
259 while <em><tt>key</tt></em> names in generated link names include only
262 <p>The <em><tt>key</tt></em> name is a string defining the cryptographic
263 key type. Key types include public/private keys <tt>host</tt>
265 challenge/response key types. By convention, client files used for
268 a <tt>key</tt> subtype, as in the GQ response <tt>GQkey</tt>.</p>
271 format <tt>ntpkey_<i>key</i>_<i>host</i>.<i>fstamp</i></tt>. The second
275 using ASN.1 rules, then encrypted using the DES-CBC algorithm with
276 given password and finally written in PEM-encoded printable ASCII text
279 named <tt>ntp.keys,</tt> is somewhat different than the other files in
284 <caption style="caption-side: bottom;">
285 Figure 1. Typical Symmetric Key File
287 <tr><td style="border: 1px solid black; border-spacing: 0;">
292 1 MD5 L";Nw&lt;`.I&lt;f4U0)247"i # MD5 key
293 2 MD5 &amp;&gt;l0%XXK9O'51VwV&lt;xq~ # MD5 key
294 3 MD5 lb4zLW~d^!K:]RsD'qb6 # MD5 key
295 4 MD5 Yue:tL[+vR)M`n~bY,'? # MD5 key
296 5 MD5 B;fxlKgr/&amp;4ZTbL6=RxA # MD5 key
297 6 MD5 4eYwa`o}3i@@V@..R9!l # MD5 key
298 7 MD5 `A.([h+;wTQ|xfi%Sn_! # MD5 key
299 8 MD5 45:V,r4]l6y^JH6.Sh?F # MD5 key
300 9 MD5 3-5vcn*6l29DS?Xdsg)* # MD5 key
301 10 MD5 2late4Me # MD5 key
302 11 SHA1 a27872d3030a9025b8446c751b4551a7629af65c # SHA1 key
303 12 SHA1 21bc3b4865dbb9e920902abdccb3e04ff97a5e74 # SHA1 key
304 13 SHA1 2b7736fe24fef5ba85ae11594132ab5d6f6daba9 # SHA1 key
305 14 SHA a5332809c8878dd3a5b918819108a111509aeceb # SHA key
306 15 MD2 2fe16c88c760ff2f16d4267e36c1aa6c926e6964 # MD2 key
307 16 MD4 b2691811dc19cfc0e2f9bcacd74213f29812183d # MD4 key
308 17 MD5 e4d6735b8bdad58ec5ffcb087300a17f7fef1f7c # MD5 key
309 18 MDC2 a8d5e2315c025bf3a79174c87fbd10477de2eabc # MDC2 key
310 19 RIPEMD160 77ca332cafb30e3cafb174dcd5b80ded7ba9b3d2 # RIPEMD160 key
311 20 AES128CMAC f92ff73eee86c1e7dc638d6489a04e4e555af878 # AES128CMAC key
316 first an integer between 1 and 65535, inclusive, representing the key
318 commands. Second is the key type for the message digest algorithm,
321 installed, the key type can be any message digest algorithm supported
322 by that library. However, if compatibility with FIPS 140-2 is
323 required, the key type must be either <tt>SHA</tt> or <tt>SHA1</tt>.
324 The key type can be changed using an ASCII text editor.</p>
325 <p>The third field is the key.</p>
326 <p>An MD5 key consists of a printable ASCII string less than or equal to
328 OpenSSL key consists of a hex-encoded ASCII string of 40 characters,
336 suffix, which limits the acceptance of the key identifier to packets
338 <p>The <tt>ntp-keygen</tt> program generates a MD5 symmetric keys
341 distributed by secure means to other subnet hosts. The NTP daemon
342 loads the file <tt>ntp.keys</tt>, so <tt>ntp-keygen</tt> installs a
344 soft links must be installed by manual or automated means on the other