gpg asks for password

Bug #1419618 reported by Jon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Using Duplicity 0.7.01

Using the --encrypt-key [key] option should avoid being prompted for the password. I am getting a pinentry dialogue asking for the password (either with or without --use-agent).

This might be related to a recent upgrade to GnuPG 2.1, not sure.

It doesn't matter if I enter a correct or incorrect password (or even blank). It still proceeds to back up. My concern is that I want it to run automatically in the background but I can't with pinentry stopping the process.

Revision history for this message
Kuang-che Wu (kcwu) wrote :

FYI, you can solve this problem by
1. add "allow-loopback-pinentry" to ~/.gnupg/gpg-agent.conf
2. add "--gpg-options=--pinentry-mode=loopback" to duplicity command line options.

See https://wiki.archlinux.org/index.php/GnuPG#Unattended_passphrase for more detail.

Revision history for this message
Jon (jonablett) wrote :

This appears to do the trick.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.