summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-05-30 11:47:17 -0300
committerdrebs <drebs@leap.se>2013-05-30 11:47:17 -0300
commitf8046c34688813ac3f520b686ddbbaf945add61a (patch)
tree2f71ad989191bd51986a692f1923544094ec9f5a
parent2819ef4e71562b5721b7799eec6d5849231461ae (diff)
Remove unneeded exception import.
-rw-r--r--src/leap/soledad/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py
index b847364f..c7f8cff3 100644
--- a/src/leap/soledad/__init__.py
+++ b/src/leap/soledad/__init__.py
@@ -50,7 +50,6 @@ from u1db.remote.ssl_match_hostname import ( # noqa
from leap.common import events
from leap.common.check import leap_assert
from leap.common.files import mkdir_p
-from leap.common.keymanager.errors import DecryptionFailed
from leap.soledad.backends import sqlcipher
from leap.soledad.backends.leap_backend import (
LeapDocument,
@@ -450,7 +449,7 @@ class Soledad(object):
key = scrypt.hash(self._passphrase, salt, buflen=32)
iv, ciphertext = self._crypto.encrypt_sym(secret, key)
self._secrets[secret_id] = {
- # leap.common.keymanager.openpgp uses AES256 for symmetric
+ # leap.soledad.crypto submodule uses AES256 for symmetric
# encryption.
self.KDF_KEY: 'scrypt', # TODO: remove hard coded kdf
self.KDF_SALT_KEY: binascii.b2a_base64(salt),