Skip to content

Commit

Permalink
Add enketo encryption namespaces (#2122)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniswambua authored Jul 21, 2021
1 parent be59543 commit b553b22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion onadata/libs/utils/logger_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'<formhub>\s*<uuid>\s*([^<]+)\s*</uuid>\s*</formhub>',
re.DOTALL)
Expand Down

0 comments on commit b553b22

Please sign in to comment.