Add basic end-to-bridge encryption support

Still missing persisting sync tokens and crypto state in DB
This commit is contained in:
Tulir Asokan committed 2020-05-09 02:04:01 +03:00
1 parent edd91510f1
commit baae66ed04
12 files changed
+460 -38

No files matched your search

+5
View File
@@ -64,6 +64,11 @@ type BridgeConfig struct {
CommandPrefix string `yaml:"command_prefix"`
Encryption struct {
Allow bool `yaml:"allow"`
Default bool `yaml:"default"`
} `yaml:"encryption"`
Permissions PermissionConfig `yaml:"permissions"`
Relaybot RelaybotConfig `yaml:"relaybot"`