From b553b227d6a0d0967a876d039dad854422f166f7 Mon Sep 17 00:00:00 2001 From: Dennis Wambua Date: Wed, 21 Jul 2021 16:16:20 +0300 Subject: [PATCH] Add enketo encryption namespaces (#2122) --- onadata/libs/utils/logger_tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onadata/libs/utils/logger_tools.py b/onadata/libs/utils/logger_tools.py index 728262cc1c..b892f3d64e 100644 --- a/onadata/libs/utils/logger_tools.py +++ b/onadata/libs/utils/logger_tools.py @@ -62,7 +62,9 @@ DEFAULT_CONTENT_LENGTH = settings.DEFAULT_CONTENT_LENGTH REQUIRED_ENCRYPTED_FILE_ELEMENTS = [ "{http://www.opendatakit.org/xforms/encrypted}base64EncryptedKey", - "{http://www.opendatakit.org/xforms/encrypted}encryptedXmlFile"] + "{http://www.opendatakit.org/xforms/encrypted}encryptedXmlFile", + "{http://opendatakit.org/submissions}base64EncryptedKey", + "{http://opendatakit.org/submissions}encryptedXmlFile"] uuid_regex = re.compile(r'\s*\s*([^<]+)\s*\s*', re.DOTALL)