summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/keymanager/__init__.py
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-04-21 18:27:36 -0300
committerRuben Pollan <meskio@sindominio.net>2017-12-03 20:43:37 +0100
commit6300a435aaf3f4dacd4615c75defaa8ea7369248 (patch)
tree6ee17c63f58d4097a191e81c40b793d8c40b1221 /src/leap/bitmask/keymanager/__init__.py
parentfbdb541bfc0fcbf2d9c92c785f0d8ff1fe98f68a (diff)
[feat] stop resetting signs used after key regeneration
We were considering to reset the sign_used flag to force the new key to be resend as attachment in forthcoming emails. Although, this is not a good solution, because we'll lose information about which keys the client has signed.
Diffstat (limited to 'src/leap/bitmask/keymanager/__init__.py')
-rw-r--r--src/leap/bitmask/keymanager/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py
index d1fd4edb..2fa80c7c 100644
--- a/src/leap/bitmask/keymanager/__init__.py
+++ b/src/leap/bitmask/keymanager/__init__.py
@@ -373,8 +373,6 @@ class KeyManager(object):
self.log.info('Regenerating key for %s.' % self._address)
new_key = yield self._openpgp.regenerate_key(self._address)
- yield self._openpgp.reset_all_keys_sign_used()
-
defer.returnValue(new_key)
#