Update config.go

Add 'Secrets' configuration for secondary encryption.
This commit is contained in:
Fyodor Ustinov 2022-07-03 17:17:43 +03:00 committed by GitHub
parent 42d4298e19
commit 704e98442a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {