duplicity crashes on resume when using gpg-agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When resuming an encrypted backup, duplicity crashes with a gpg error:
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: gpg-agent is not available in this session
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
gpg: encrypted with SANITIZED-bit RSA key, ID SANITIZED, created SANITIZED
"Boyan Penkov SANITIZED"
gpg: public key decryption failed: bad passphrase
gpg: decryption failed: secret key not available
===== End GnuPG log =====
This is quite similar to the one reported here: https:/
duplicity is 0.6.25, gpg-agent is 2.0.27, and gnupg is 1.4.19. I am on OS X 10.10.2, and all these are installed via homebrew.
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.05 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
what was your cmd line? did you properly export PASSPHRASE or GPG_AGENT_INFO ?
..ede/duply.net