Skip to content

Commit

Permalink
Add enketo encryption namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
denniswambua committed Jul 13, 2021
1 parent 472b466 commit 9ff4379
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 9ff4379

Please sign in to comment.