2 @unnumbered Configuration file
4 NNCP uses single file configuration file in @url{https://hjson.org/,
5 Hjson} format (see also section about @ref{Configuration directory,
6 directory layout}) . Initially it is created with @ref{nncp-cfgnew}
7 command and at minimum it can look like this:
10 spool: /var/spool/nncp
11 log: /var/spool/nncp/log
15 exchpub: 2NZKH...CMI7A
16 exchprv: KETPP...2OJZA
17 signpub: EXD7M...YAOFA
18 signprv: B3EMS..XMAHCQ
19 noiseprv: 3TJDF...2D7DQ
20 noisepub: MIXYN...BGNDQ
26 exchpub: 2NZKH...CMI7A
27 signpub: EXD7M...YAOFA
28 noisepub: MIXYN...BGNDQ
33 And for being able to communicate with at least one other node, you just
34 need to add single key to the @code{neigh} section similar to the "self".
36 Whole configuration file can be separated on five sections:
39 * General options: CfgGeneral.
40 * Self-node keypairs: CfgSelf.
41 * Notifications: CfgNotify.
42 * Neighbours: CfgNeigh.
45 You can optionally convert it to directory layout
46 * Configuration directory::
49 @include cfg/general.texi
50 @include cfg/self.texi
51 @include cfg/notify.texi
52 @include cfg/neigh.texi
53 @include cfg/areas.texi