From 6e60722adc5ace4f124892972797b8f102b7b0a6 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 13 Jul 2022 19:35:19 -0400 Subject: [PATCH] Island: Remove unlock() and reset_key() from RepositoryService These two methods violate SRP and ISP. --- monkey/monkey_island/cc/services/repository_service.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/monkey/monkey_island/cc/services/repository_service.py b/monkey/monkey_island/cc/services/repository_service.py index 9910469b5..8cc310b62 100644 --- a/monkey/monkey_island/cc/services/repository_service.py +++ b/monkey/monkey_island/cc/services/repository_service.py @@ -34,12 +34,6 @@ class RepositoryService: if custom_pbas.windows_filename: self._file_repository.delete_file(custom_pbas.windows_filename) - def unlock(self): - raise NotImplementedError - - def reset_key(self): - raise NotImplementedError - def clear_simulation_data(self): # NOTE: This method will be replaced by an event when we implement pub/sub in the island. # Different plugins and components will be able to register for the event and clear