mirror of
https://github.com/kevinveenbirkenbach/splitted-secret.git
synced 2024-11-22 10:11:05 +01:00
Removed debugging commands
This commit is contained in:
parent
4c3661de76
commit
4caec4e1dc
@ -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())
|
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user