= ntpkeygen - generate public and private keys =

[cols="10%,90%",frame="none",grid="none",style="verse"]
|==============================
|image:pic/alice23.gif[]|
{millshome}pictures.html[from 'Alice's Adventures in Wonderland', Lewis Carroll]

Alice holds the key.

|==============================

== Related Links ==

include::includes/manual.txt[]

== Table of Contents ==

* link:#synop[Synopsis]
* link:#descrip[Description]
* link:#conf[Initial configuration]
* link:#cmd[Command Line Options]
* link:#run[Running the program]
* link:#access[Key file access and location]
* link:#trust[Trusted Hosts and Groups]
* link:#ident[Identity schemes]
* link:#rand[Random Seed File]
* link:#fmt[Cryptographic Data Files]

'''''

include::includes/ntpkeygen-body.txt[]

// The end of "Cryptographic Data Files" runs into this following text.

image:pic/sx5.gif[]

Figure 1. Typical Symmetric Key File

Figure 1 shows a typical symmetric keys file used by the reference
implementation. Each line of the file contains three fields, first
keyno an integer between 1 and 65534, inclusive, representing the
key identifier used in the `server` configuration commands. Next
is the key type for the message digest algorithm, which can be any
message digest algorithm supported by the OpenSSL library.

For details, see {ntpkeysman}.

+ntpkeygen+ just makes a sample file with good random keys.  You can
edit it by hand to change the keyno or keytype and/or copy lines to
other key files.

'''''

include::includes/footer.txt[]
