diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-11-30 10:20:08 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-11-30 10:34:20 +0100 |
commit | 7e7e54c5ef5a53e66e4bd0578b24bb1fc62db797 (patch) | |
tree | 3bed438067025f6c7bb79713598b3ad959c45456 /src/leap/bitmask/mail/imap/mailbox.py | |
parent | 2d700b6785d583782bbb3d76690866b64b969f52 (diff) |
[bug] make srp token changes propagate to nicknym object
the token is set when we get the srp token in the keymanager service,
but it wasn't been propagated properly to the internal nicknym object
that was refactored recently.
here I make the setter write the same token to both keymanager itself
and the nicknym.
some little additional refactors:
- move gpg initialization to a helper method
in this way it becomes easier to stub the soledad and keymanager
components, for testing.
- name nicknym token as publicly visible, since i'm accessing
it from the keymanager object.
- Resolves: #8651
Diffstat (limited to 'src/leap/bitmask/mail/imap/mailbox.py')
0 files changed, 0 insertions, 0 deletions