--use-agent broken in 0.7.12
Bug #1680682 reported by
Dave Allan
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've been using gpg2 with --use-agent successfully for a long time, but after updating to 0.7.12 my backups started failing with the error:
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: Sorry, we are in batchmode - can't get input
===== End GnuPG log =====
It seems like the attempt to create truly non-interactive behavior (gpg.py at line 140) is causing it to ignore --use-agent.
This seems to be fixed in the most recent code in bzr.
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
1) There have been no changes to the repo since 0.7.12 and today. When you started using the PPA or the repo, did you uninstall/purge the version supplied by the distro? It's possible you're picking up an older version.
2) gpg2 changed the use of --gpg-agent. It's always used according to the manual:
--use-agent
This is dummy option. gpg2 always requires the agent.
This is dummy option. It has no effect when used with gpg2.
3) What version of gpg2 are you using?