Removed debugging commands

This commit is contained in:
Kevin Veen-Birkenbach 2022-12-11 10:20:18 +01:00
parent 4c3661de76
commit 4caec4e1dc
2 changed files with 1 additions and 5 deletions

View File

@ -114,6 +114,4 @@ class Decryption():
self.decryptFile(self.user_password, input_file_path, output_file_path)
def decryptMainData(self):
self.cli.executeCommand('gpg --batch --passphrase "' + self.getMasterPassword() + '" -d "' + self.paths.getEncryptedMainDataFile() + '" | tar --one-top-level="' + self.paths.getDecryptedMainDataStandartFolder() + '" -xvzf -')
print(self.cli.getCommandString())
print(self.cli.getOutputString())
self.cli.executeCommand('gpg --batch --passphrase "' + self.getMasterPassword() + '" -d "' + self.paths.getEncryptedMainDataFile() + '" | tar --one-top-level="' + self.paths.getDecryptedMainDataStandartFolder() + '" -xvzf -')

View File

@ -128,8 +128,6 @@ class Encryption():
def encryptMainData(self):
self.cli.executeCommand('tar -C"' + self.paths.getDecryptedMainDataStandartFolder() + '" -cvzf - ./ | gpg -c --batch --passphrase "' + self.master_password +'" > "' + self.paths.getEncryptedMainDataFile() + '"')
print(self.cli.getCommandString())
print(self.cli.getOutputString())
def encryptAll(self):
self.encryptUserFile()