diff --git a/scripts/classes/Decryption.py b/scripts/classes/Decryption.py index bd76c46..9ac85db 100644 --- a/scripts/classes/Decryption.py +++ b/scripts/classes/Decryption.py @@ -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()) \ No newline at end of file + self.cli.executeCommand('gpg --batch --passphrase "' + self.getMasterPassword() + '" -d "' + self.paths.getEncryptedMainDataFile() + '" | tar --one-top-level="' + self.paths.getDecryptedMainDataStandartFolder() + '" -xvzf -') \ No newline at end of file diff --git a/scripts/classes/Encryption.py b/scripts/classes/Encryption.py index 58bb669..79a7acb 100644 --- a/scripts/classes/Encryption.py +++ b/scripts/classes/Encryption.py @@ -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()