use-agent issue with version 0.7.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I use the following command for backups:
duplicity --verbosity info --full-
It fails with duplicity 0.7.12. This is the GPG error I get:
GPG error detail: Traceback (most recent call last):
File "/home/
File "/home/
fn()
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
assert not fin.close()
File "/home/
assert not self.fileobj.
File "/home/
File "/home/
raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: Sorry, we are in batchmode - can't get input
===== End GnuPG log =====
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: Sorry, we are in batchmode - can't get input
===== End GnuPG log =====
The same command completes without errors with 0.7.11. It sounds like a gpg-agent/pinentry related issue. Is this a regression? Do I need to change something in my Duplicity or/and GPG configuration?
This is what my gpg-agent.conf looks like:
# set the defaut cache time to 2 hours
default-
# set the max cache time to 8 hours
max-cache-ttl 28800
# use pinentry-gtk-2
pinentry-
# do not allow external cache
no-
Information:
duplicity version: 0.7.12
python version: 2.7.13
OS: Debian Sid