diff --git a/monkey/monkey_island/cc/server_utils/encryption/data_store_encryptor.py b/monkey/monkey_island/cc/server_utils/encryption/data_store_encryptor.py index 79f07e6c6..9fecce939 100644 --- a/monkey/monkey_island/cc/server_utils/encryption/data_store_encryptor.py +++ b/monkey/monkey_island/cc/server_utils/encryption/data_store_encryptor.py @@ -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) diff --git a/monkey/monkey_island/cc/server_utils/encryption/repository_encryptor.py b/monkey/monkey_island/cc/server_utils/encryption/repository_encryptor.py index 7d1686c82..ccc5403f1 100644 --- a/monkey/monkey_island/cc/server_utils/encryption/repository_encryptor.py +++ b/monkey/monkey_island/cc/server_utils/encryption/repository_encryptor.py @@ -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