X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fcfg%2Fgeneral.texi;h=69551a280e85521acb0a16979d14db16c2e5554a;hb=e068d88291cd45a4d6b748e258077dd6c0ffb9c2;hp=ae6ca588827c9b778aeb405c9eb0e60f5a27f59e;hpb=655146e4ee2bde72c9e8daa1361010fefe016df9;p=nncp.git diff --git a/doc/cfg/general.texi b/doc/cfg/general.texi index ae6ca58..69551a2 100644 --- a/doc/cfg/general.texi +++ b/doc/cfg/general.texi @@ -15,6 +15,14 @@ nohdr: true # MultiCast Discovery mcd-listen: ["em0", "igb1"] mcd-send: {em0: 60, igb1: 5} + +# Yggdrasil aliases +yggdrasil-aliases: { + myprv: 60bb...27aa + bob-pub: 98de...ac19d + alice-endpoint: tcp://example.com:1234?key=689c...13fb + default-endpoints: tcp://[::1]:2345,alice-endpoint +} @end verbatim @table @code @@ -51,3 +59,14 @@ incoming @ref{MCD} announcements. Specifies list of network interfaces, and intervals in seconds, where @ref{nncp-daemon} will send @ref{MCD} announcements. @end table + +@anchor{CfgYggdrasilAliases} +Optional @ref{Yggdrasil}-related aliases are used for convenience and +keeping private keys away being used directly in command line. Each +@code{PUB}, @code{PRV}, @code{PEER}, @code{BIND} value in +@ref{nncp-daemon}'s @option{-yggdrasil} and in @code{yggdrasil:} +addresses is replaced with alias value. Moreover each entry in list of +@code{PUB}s, @code{PEER}s and @code{BIND} can be an alias too. Pay +attention, that all aliases ending with @code{prv} will be saved with +600 permissions when converting to @ref{Configuration directory, +directory layout}.