password change produces WrongMacError
Steps to reproduce it:
- get an email account with some emails stored on it
- change the user password
- delete ~/.config/leap/
- open bitmask again and wait for soledad to synchronize
The error log:
2015-09-15 21:53:21] CRITICAL - L#109 : twisted.logger._stdlib:__call__ - Unhandled Error Traceback (most recent call last): File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback self._startRunCallbacks(result) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks self._runCallbacks() File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 588, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1184, in gotResult _inlineCallbacks(r, g, deferred) --- --- File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/home/kali/leap/soledad/client/src/leap/soledad/client/encdecpool.py", line 797, in _decrypt_and_recurse self._collect_async_decryption_results() File "/home/kali/leap/soledad/client/src/leap/soledad/client/encdecpool.py", line 774, in _collect_async_decryption_results self._decrypt_doc_cb(res.get()) # might raise an exception! File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get raise self._value leap.soledad.common.crypto.WrongMacError: Could not authenticate document's contents.
It looks like the password change updates srp but not soledad.
(from redmine: created on 2015-09-18, closed on 2015-11-03, relates #7450 (closed), relates #7391 (closed), relates #7470 (closed))