Description
As the title says everything works perfectly without encryption/decryption. Encrypting itself seems to work fine, no errors there and the files are there but restoring just fails without any errors. Followed the readthedocs instructions exactely and installed python-gnupg and GnuPG1.4
Finding latest backup
Finding latest backup
Restoring backup for database 'default' and server 'None'
Restoring backup for database 'default' and server 'None'
Restoring: default-gbw-l-m0434.local-2018-11-09-165437.psql.gz.gpg
Restoring: default-gbw-l-m0434.local-2018-11-09-165437.psql.gz.gpg
54079: gpg --status-fd 2 --no-tty --no-verbose --fixed-list-mode --batch --with-colons --version
stderr reader: <Thread(Thread-1, initial daemon)>
stdout reader: <Thread(Thread-2, initial daemon)>
chunk: b'gpg (GnuPG) 1.4.23\nCopyright (C) 2015 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'
Input Passphrase:
54088: gpg --status-fd 2 --no-tty --no-verbose --fixed-list-mode --batch --with-colons --passphrase-fd 0 --decrypt --output /var/folders/m3/gdyb9d6j1rl091dn0t8wbs9whdxqsd/T/tmpyz2v011b/default-gbw-l-m0434.local-2018-11-09-165437.psql.gz
Wrote passphrase
data copier: <Thread(Thread-3, initial daemon)>, <File: /path/backups/default-gbw-l-m0434.local-2018-11-09-165437.psql.gz.gpg>, <_io.BufferedWriter name=7>
stderr reader: <Thread(Thread-4, initial daemon)>
stdout reader: <Thread(Thread-5, initial daemon)>
[GNUPG:] ENC_TO 386125CFC630AF74 1 0
[GNUPG:] USERID_HINT 386125CFC630AF74 backup-key john.doe@gmail.com
[GNUPG:] NEED_PASSPHRASE 386125CFC630AF74 252A7424C270DDE4 1 0
[GNUPG:] GOOD_PASSPHRASE
gpg: encrypted with 2048-bit RSA key, ID C630AF74, created 2018-11-09
"backup-key john.doe@gmail.com"
closed output, 93406 bytes sent
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_INFO 2 9
[GNUPG:] PLAINTEXT 62 1541778877
[GNUPG:] DECRYPTION_OKAY
[GNUPG:] GOODMDC
[GNUPG:] END_DECRYPTION
decrypt result: b''
Restore tempfile created: 0 B
Restore tempfile created: 0 B
Are you sure you want to continue? [Y/n] n
The file it mentions: /var/folders/m3/gdyb9d6j1rl091dn0t8wbs9whdxqsd/T/tmpyz2v011b/default-gbw-l-m0434.local-2018-11-09-165437.psql.gz
does not seem to exist (and its folder tmpyz2v011b also doesn't exist, the parent of this folder (T) does exists)