[pkg-gnupg-maint] Bug#919856: Bug#919856: gpg-agent: agent refuses operation again

Norbert Preining norbert at preining.info
Thu Jan 24 07:04:36 GMT 2019


Hi Yutaka,


> "no-allow-external-cache" in your .gnupg/gpg-agent.conf.

Confirmed, that made it work.

> This means cache hits, and passphrase is "" (empty).  This is wrong.
> 
> I guess, for some unknow reason, secret_password_lookup_nonpageable_sync
> seems to return "", where NULL is expected (because of no cache hit).
> Something is going wrong in libsecret, it is related to gnome-keyring
> service.

Around 12/28 there was an update of libsecret in unstable, that was more
or less when it started - hard to say, I wasn't online for some time
around new year etc.

For testing, I reverted to 0.18.6-3 by checking out the git sources and
building from source this release (already disappeared from testing,
too).

But, unfortunately, it didn't help. Even with downgraded libsecret it
still didn't work.

> In GNOME Desktop, it is gnome-keyring-daemon which handles secret store.
> Please check your gnome-keyring-daemon is running correctly.  It's in
> gnome-keyring package.

How do I check that it is running correctly? It is running, and it
serves secrets, because my offlineimap client gets them via a python
module from the store for mail sync. Any other tests I should/can do?

> You are using gpg-agent as ssh-agent.  Please don't activate
> gnome-keyring-daemon's feature as ssh-agent.

Where would I check/configure that? I have the following gnome processes
running:
$ ps ax | grep gnome
 2330 ?        SLl    0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 2452 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2612 ?        SLl    0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2619 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2678 ?        Sl     0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
 3835 pts/2    S+     0:00 grep gnome
$

I checked dconf-editor and gconf-editor for something suspicious, but
didn't see anything. Also below ~/.config there wasn't anything I felt
connected.

Sorry for all the complications, and thanks for your great support

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the pkg-gnupg-maint mailing list