Comment 17 for bug 1728548

Revision history for this message
Phil Ayres (ayres-phil) wrote :

This error appears for me too when the periodic secret validation occurs. The validation takes a long time and eventually times out.

Ubuntu 18.04.2 LTS
deja-dup 37.1-2fakesync1ubuntu0.1
duplicity 0.7.17-0ubuntu1.1
gpg (GnuPG) 2.2.4

Running `gpg --no-use-agent` on the command line returns
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect

Presumably this is due to
https://github.com/deja-dup/deja-dup/blob/master/libdeja/tools/duplicity/DuplicityInstance.vala

Line 91: argv.append("--gpg-options=--no-use-agent");

OK, so the agent is always required with gpg 2.1+. So either it looks like deja shouldn't be passing the option, or should offer a way to specify the gpg version.

Since it takes ages to time out after I have entered the secret for validation, I'm guessing that it is more than a warning here, and that gpg is blocking the request.

A long way of say this is affecting me too.