Island: Remove unused _KEY_LENGTH_BYTES variables from DataStoreEncryptor and RepositoryEncryptor
This commit is contained in:
parent
f8eeda1e6f
commit
53e366a677
|
@ -17,8 +17,6 @@ _encryptor: Union[None, IEncryptor] = None
|
|||
|
||||
# NOTE: This class is being replaced by RepositoryEncryptor
|
||||
class DataStoreEncryptor(IEncryptor):
|
||||
_KEY_LENGTH_BYTES = 32
|
||||
|
||||
def __init__(self, secret: str, key_file: Path):
|
||||
self._key_file = key_file
|
||||
self._password_based_encryptor = PasswordBasedBytesEncryptor(secret)
|
||||
|
|
|
@ -10,8 +10,6 @@ from .password_based_bytes_encryptor import PasswordBasedBytesEncryptor
|
|||
|
||||
|
||||
class RepositoryEncryptor(ILockableEncryptor):
|
||||
_KEY_LENGTH_BYTES = 32
|
||||
|
||||
def __init__(self, key_file: Path):
|
||||
self._key_file = key_file
|
||||
self._password_based_encryptor = None
|
||||
|
|
Loading…
Reference in New Issue