Add support for automatic key sharing

This commit is contained in:
Tulir Asokan committed 2020-08-05 14:58:46 +03:00
1 parent 05da509c7c
commit aefe63cba5
7 files changed
+60 -2

No files matched your search

+6
View File
@@ -77,6 +77,12 @@ type BridgeConfig struct {
Encryption struct {
Allow bool `yaml:"allow"`
Default bool `yaml:"default"`
KeySharing struct {
Allow bool `yaml:"allow"`
RequireCrossSigning bool `yaml:"require_cross_signing"`
RequireVerification bool `yaml:"require_verification"`
} `yaml:"key_sharing"`
} `yaml:"encryption"`
Permissions PermissionConfig `yaml:"permissions"`