[pkg-gnupg-maint] Bug#842908: gnupg: with no $DISPLAY: problem with the agent: Configuration error

Vincent Lefevre vincent at vinc17.net
Wed Nov 2 09:50:04 UTC 2016


On 2016-11-02 10:31:17 +0100, Vincent Lefevre wrote:
> Package: gnupg
> Version: 2.1.15-8
> Severity: grave
> Justification: renders package unusable
> 
> gpg no longer works without a $DISPLAY.
> 
> For instance:
> 
> 1. SSH to some machine (without X forwarding and without a running
>    X session).
> 
> 2. Make sure that gpg-agent is not running (or kill it).
> 
> 3. Run something like: "gpg -d file.gpg" on an encrypted file.
> 
> I get:
> 
> cventin:~> gpg -d file.gpg
> gpg: AES encrypted data
> gpg: problem with the agent: Configuration error
> gpg: encrypted with 1 passphrase
> gpg: decryption failed: No secret key

I have another machine with gnupg 2.1.15-3 (instead of 2.1.15-8) and
also with /etc/alternatives/pinentry -> /usr/bin/pinentry-gnome3 but
there is no such problem on it: there is a fallback to the curses
version so that I can type the passphrase.

So, either the regression is between 2.1.15-3 and 2.1.15-8, or the
problem is related to some other difference (this machine is still
with sysvinit-core).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnupg-maint mailing list