From 87b65c731bb32bb9f0953d23b750ac8e8fda9eab Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 25 Feb 2017 18:06:03 -0300 Subject: [bug] remove unused named tuple from client secrets --- client/src/leap/soledad/client/_secrets/__init__.py | 7 ------- 1 file changed, 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 -- cgit v1.2.3