Island: Remove unused _KEY_LENGTH_BYTES variables from DataStoreEncryptor and RepositoryEncryptor

This commit is contained in:
Shreya Malviya 2022-07-15 11:55:17 +05:30
parent f8eeda1e6f
commit 53e366a677
2 changed files with 0 additions and 4 deletions

View File

@ -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)

View File

@ -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