Skip to content

Avoid saving docs with empty "enc_json" property in CouchDB.

Thais requested to merge (removed):encryption-failure-doc into develop

This pull request intends to avoid saving docs with empty "enc_json" property in CouchDB. This issue happened when we received some email during the period that the key was expired. With this fix, we verify if some problem occurred during the encryption, if yes the doc will be returned as None. So that will raise an exception.

We are trying to run some tests following the 'Readme' instructions, but we are facing a lot issues:

  • First we tried to run twistd -ny pkg/mx.tac and we got the exceptions.ImportError: libc6 2.4 or higher needed error. Then we downgraded Twisted to fix it.
  • Still trying to run that command, we got the exceptions.ImportError: No module named mx.couchdbhelper error

Merge request reports