Page MenuHome GnuPG

Warning message when using gpg (The GNOME keyring manager hijacked the GnuPG agent)
Closed, ResolvedPublic

Description

I'm using GnuPG 2.0.23 and GNOME 3.12. I get the following warning message when
using gpg or the pass password manager (also based on gpg) to decrypt some
information:

gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work proberly - please configure that tool to not

interfere with the GnuPG system!

The secret information is successfully decrypted, but I can't make this warning
disappear.

I found little information on the web:

My knowledge of GNOME Keyring and GnuPG is very limited, so I don't know what's
the root cause of this problem or how it can be fixed.

I also filed an almost identical bug report on GNOME Bugzilla
(https://bugzilla.gnome.org/show_bug.cgi?id=731927) but they say it's not a
GNOME-related bug.

Event Timeline

werner claimed this task.
werner added a project: Not A Bug.

You need to configuire gnome-keyring-daemon not to hijack the gpg-agent. This
is done by not adding gpg to the
--components
options. It is a long standing GNOME problem that they willfully hijack the
interprocess connection to gpg-agent. This leads to lots of bug reports
directed to GnuPG and thus I finally added this warning.

Note: for more information about this issue, please refer to:

  T1945

  https://wiki.gnupg.org/GnomeKeyring

(I've added this here, since this page is one of the top hits on ddg and google
when searching for the warning message.)