From 017ea5298e75749a97c394201ba9ebeb2f468a40 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Fri, 18 Nov 2022 15:52:05 +0100 Subject: [PATCH] typo --- webmails/snuffleupagus.rules | 2 +- webmails/start.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webmails/snuffleupagus.rules b/webmails/snuffleupagus.rules index f85b7fe4..df9dadc4 100644 --- a/webmails/snuffleupagus.rules +++ b/webmails/snuffleupagus.rules @@ -11,7 +11,7 @@ sp.harden_random.enable(); sp.xxe_protection.enable(); # Global configuration variables -sp.global.secret_key("{{ SNUFFLEPAGUS_KEY }}"); +sp.global.secret_key("{{ SNUFFLEUPAGUS_KEY }}"); # Globally activate strict mode # https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict diff --git a/webmails/start.py b/webmails/start.py index bf4472cd..f87ac55f 100755 --- a/webmails/start.py +++ b/webmails/start.py @@ -52,7 +52,7 @@ if not secret_key: exit(2) context['ROUNDCUBE_KEY'] = hmac.new(bytearray(secret_key, 'utf-8'), bytearray('ROUNDCUBE_KEY', 'utf-8'), 'sha256').hexdigest() -context['SNUFFLEPAGUS_KEY'] = hmac.new(bytearray(secret_key, 'utf-8'), bytearray('SNUFFLEPAGUS_KEY', 'utf-8'), 'sha256').hexdigest() +context['SNUFFLEUPAGUS_KEY'] = hmac.new(bytearray(secret_key, 'utf-8'), bytearray('SNUFFLEUPAGUS_KEY', 'utf-8'), 'sha256').hexdigest() conf.jinja("/etc/snuffleupagus.rules.tpl", context, "/etc/snuffleupagus.rules") # roundcube plugins