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

@ -115,5 +115,3 @@ class Decryption():
def decryptMainData(self): def decryptMainData(self):
self.cli.executeCommand('gpg --batch --passphrase "' + self.getMasterPassword() + '" -d "' + self.paths.getEncryptedMainDataFile() + '" | tar --one-top-level="' + self.paths.getDecryptedMainDataStandartFolder() + '" -xvzf -') 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())

View File

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