backups: fix encrypted backup restore

This commit is contained in:
Marek Marczykowski-Górecki 2013-11-27 03:20:26 +01:00
parent 10100767da
commit 105428accb

View File

@ -714,7 +714,7 @@ class Extract_Worker(Process):
# Start decrypt
encryptor = subprocess.Popen (["openssl", "enc",
"-d", "-aes-256-cbc",
"-pass", "pass:"+passphrase],
"-pass", "pass:"+self.passphrase],
stdin=open(filename,'rb'),
stdout=subprocess.PIPE)