]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-cfgnew.texi
Add various documentation indices
[nncp.git] / doc / cmd / nncp-cfgnew.texi
1 @node nncp-cfgnew
2 @pindex nncp-cfgnew
3 @section nncp-cfgnew
4
5 @example
6 $ nncp-cfgnew [options] [-area NAME] [-yggdrasil] [-nocomments] > new.hjson
7 @end example
8
9 Generate new node configuration: private keys, example configuration
10 file and print it to @code{stdout}. You must use this command when you
11 setup the new node. @option{-nocomments} will create configuration file
12 without descriptive huge comments -- useful for advanced users.
13
14 With @option{-area} option you generate only the @ref{Area, area}
15 related part of the configuration file.
16
17 With @option{-yggdrasil} option only ed25519 keypair will be generated
18 for use with @ref{Yggdrasil}.
19
20 Pay attention that private keys generation consumes an entropy from your
21 operating system.