summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-02-25 18:06:03 -0300
committerdrebs <drebs@leap.se>2017-02-25 18:06:03 -0300
commit87b65c731bb32bb9f0953d23b750ac8e8fda9eab (patch)
tree9709e14309e8a94d8416da3451da4d4396939c15 /client/src/leap/soledad
parenta0029b3c7beb8682c8aa3691a5d67003168c3e07 (diff)
[bug] remove unused named tuple from client secrets
Diffstat (limited to 'client/src/leap/soledad')
-rw-r--r--client/src/leap/soledad/client/_secrets/__init__.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/client/src/leap/soledad/client/_secrets/__init__.py b/client/src/leap/soledad/client/_secrets/__init__.py
index f8da792d..bb8e9086 100644
--- a/client/src/leap/soledad/client/_secrets/__init__.py
+++ b/client/src/leap/soledad/client/_secrets/__init__.py
@@ -18,8 +18,6 @@
import os
import scrypt
-from collections import namedtuple
-
from leap.soledad.common.log import getLogger
from leap.soledad.client._secrets.storage import SecretsStorage
@@ -30,13 +28,8 @@ from leap.soledad.client._secrets.util import emit, UserDataMixin
logger = getLogger(__name__)
-SecretLength = namedtuple('SecretLength', 'name length')
-
-
class Secrets(UserDataMixin):
- # remote secret is used
-
lengths = {
'remote_secret': 512, # remote_secret is used to encrypt remote data.
'local_salt': 64, # local_salt is used in conjunction with