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