From 704e98442a9d9d393e76c1cd3b80f004716d044a Mon Sep 17 00:00:00 2001 From: Fyodor Ustinov <381111+ufm@users.noreply.github.com> Date: Sun, 3 Jul 2022 17:17:43 +0300 Subject: [PATCH] Update config.go Add 'Secrets' configuration for secondary encryption. --- src/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/config.go b/src/config/config.go index 041147b8..11e9fe6d 100644 --- a/src/config/config.go +++ b/src/config/config.go @@ -39,6 +39,7 @@ type NodeConfig struct { IfMTU uint64 `comment:"Maximum Transmission Unit (MTU) size for your local TUN interface.\nDefault is the largest supported size for your platform. The lowest\npossible value is 1280."` NodeInfoPrivacy bool `comment:"By default, nodeinfo contains some defaults including the platform,\narchitecture and Yggdrasil version. These can help when surveying\nthe network and diagnosing network routing problems. Enabling\nnodeinfo privacy prevents this, so that only items specified in\n\"NodeInfo\" are sent back if specified."` NodeInfo map[string]interface{} `comment:"Optional node info. This must be a { \"key\": \"value\", ... } map\nor set as null. This is entirely optional but, if set, is visible\nto the whole network on request."` + Secrets map[string]string `comment:"Optional passwords for specified public keys. Used in secondary layer of encryption"` } type MulticastInterfaceConfig struct {