2020-10-10 06:55:43 +00:00
|
|
|
local stringy = require "stringy"
|
|
|
|
|
2024-11-19 14:09:13 +00:00
|
|
|
e2e_policy_chat = os.getenv("E2E_POLICY_CHAT") or "required"
|
|
|
|
e2e_policy_muc = os.getenv("E2E_POLICY_MUC") or "required"
|
|
|
|
|
|
|
|
local whitelist = os.getenv("E2E_POLICY_WHITELIST") or ""
|
|
|
|
e2e_policy_whitelist = stringy.split(whitelist, ", ")
|
|
|
|
|
2016-10-18 20:20:59 +00:00
|
|
|
e2e_policy_message_optional_chat = "For security reasons, OMEMO, OTR or PGP encryption is STRONGLY recommended for conversations on this server."
|
|
|
|
e2e_policy_message_required_chat = "For security reasons, OMEMO, OTR or PGP encryption is required for conversations on this server."
|
|
|
|
e2e_policy_message_optional_muc = "For security reasons, OMEMO, OTR or PGP encryption is STRONGLY recommended for MUC on this server."
|
2020-09-18 16:53:33 +00:00
|
|
|
e2e_policy_message_required_muc = "For security reasons, OMEMO, OTR or PGP encryption is required for MUC on this server."
|