2 @section Notes about ntp.keys
4 @cindex NTP symmetric key file format
7 # EDIT THIS FILE WITH CAUTION (invoke-ntp.keys.texi)
9 # It has been AutoGen-ed June 29, 2015 at 04:30:31 PM by AutoGen 5.18.5
10 # From the definitions ntp.keys.def
11 # and the template file agtexi-file.tpl
16 This document describes the format of an NTP symmetric key file.
17 For a description of the use of this type of file, see the
18 "Authentication Support"
24 reads its keys from a file specified using the
26 command line option or the
28 statement in the configuration file.
29 While key number 0 is fixed by the NTP standard
31 and may not be changed,
32 one or more keys numbered between 1 and 65534
33 may be arbitrarily set in the keys file.
35 The key file uses the same comment conventions
36 as the configuration file.
37 Key entries use a fixed format of the form
40 @kbd{keyno} @kbd{type} @kbd{key}
45 is a positive integer (between 1 and 65534),
47 is the message digest algorithm,
54 may be given in a format
64 was built with the OpenSSL library
65 then any digest library supported by that library may be specified.
66 However, if compliance with FIPS 140-2 is required the
73 What follows are some key types, and corresponding formats:
77 The key is 1 to 16 printable characters terminated by
83 (which is the "start of comment" character).
88 The key is a hex-encoded ASCII string of 40 characters,
89 which is truncated as necessary.
92 Note that the keys used by the
96 programs are checked against passwords
97 requested by the programs and entered by hand,
98 so it is generally appropriate to specify these keys in ASCII format.
100 This section was generated by @strong{AutoGen},
101 using the @code{agtexi-cmd} template and the option descriptions for the @code{ntp.keys} program.
102 This software is released under the NTP license, <http://ntp.org/license>.
105 * ntp.keys Files:: Files
106 * ntp.keys See Also:: See Also
107 * ntp.keys Notes:: Notes
111 @subsection ntp.keys Files
113 @item @file{/etc/ntp.keys}
114 the default name of the configuration file
116 @node ntp.keys See Also
117 @subsection ntp.keys See Also
119 @code{ntpd(1ntpdmdoc)},
120 @code{ntpdate(1ntpdatemdoc)},
121 @code{ntpdc(1ntpdcmdoc)},
122 @code{sntp(1sntpmdoc)}
124 @subsection ntp.keys Notes
125 This document was derived from FreeBSD.