2022-12-09 13:08:07 +01:00
|
|
|
from .AbstractSplittedSecret import AbstractSplittedSecret
|
|
|
|
class Cleanup(AbstractSplittedSecret):
|
|
|
|
def __init__(self):
|
2022-12-09 13:22:57 +01:00
|
|
|
super(Cleanup, self).__init__()
|
|
|
|
def deleteAllEncryptedFiles(self):
|
2022-12-09 14:52:57 +01:00
|
|
|
self.executeCommand('rm -v ' + self.decrypted_password_files_folder + '*')
|
|
|
|
print(self.getCommandString())
|
|
|
|
print(self.getOutputString())
|
2022-12-09 13:22:57 +01:00
|
|
|
self.executeCommand('rm -v ' + self.encrypted_splitted_password_files_folder + '*')
|
|
|
|
print(self.getCommandString())
|
|
|
|
print(self.getOutputString())
|
2022-12-09 13:08:07 +01:00
|
|
|
def deleteAll(self):
|
2022-12-09 13:22:57 +01:00
|
|
|
self.deleteAllEncryptedFiles()
|