room and user account data encryption

This commit is contained in:
Aine
2022-10-02 20:15:46 +03:00
parent 8c2a383421
commit f3c5c47e76
8 changed files with 21 additions and 18 deletions

View File

@@ -14,6 +14,8 @@ type Config struct {
Port string
// RoomID of the admin room
LogLevel string
// DataSecret is account data secret key (password) to encrypt all account data values
DataSecret string
// NoEncryption disabled encryption support
NoEncryption bool
// Prefix for commands