diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-10-31 10:36:35 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-12-03 20:43:38 +0100 |
commit | f6c71494f0ada864e80ee74c60ec09939a14f44b (patch) | |
tree | 89f89a5549ad462ff5ee3fc2ed6cda8c0c367109 /src/leap/bitmask/keymanager/__init__.py | |
parent | d13fb37acd01dc1e4d62631e0e131a937a001f33 (diff) |
[refactor] remove rengenerate key
We are not planning to regenerate keys (for now), only to extend the
expiration date.
Diffstat (limited to 'src/leap/bitmask/keymanager/__init__.py')
-rw-r--r-- | src/leap/bitmask/keymanager/__init__.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py index 2fa80c7c..c1095877 100644 --- a/src/leap/bitmask/keymanager/__init__.py +++ b/src/leap/bitmask/keymanager/__init__.py @@ -361,20 +361,6 @@ class KeyManager(object): d.addCallback(signal_finished) return d - @defer.inlineCallbacks - def regenerate_key(self): - """ - Regenerate a key bound to the user's address. - - :return: A Deferred which fires with the generated EncryptionKey. - :rtype: Deferred - """ - - self.log.info('Regenerating key for %s.' % self._address) - - new_key = yield self._openpgp.regenerate_key(self._address) - defer.returnValue(new_key) - # # Setters/getters # |