gpg hangs when asking for passphrase

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue May 9 18:59:44 CEST 2017


On Tue 2017-05-09 09:32:43 -0400, Joey Morris wrote:
>
> Thanks Peter, I think this is indeed related to the systemd user sessions. Just
> to clarify, did you solve your problem by disabling the systemd units, or did
> you end up getting it working with them?
>
> Checking my apt logs, I upgraded from gnupg-1.4.19-3 and gnupg2-2.0.28-3 to just
> gnupg2-2.1.18-6 on March 18. (So it wasn't a new install of gnupg as I implied
> originally.) March 18 is the day I installed pass and started using it, and by
> extension, gpg, succesfully. I didn't install dbus-user-session. Then I rebooted
> on May 7. My guess is that gpg-agent didn't start running through systemd until
> I rebooted.
>
> I installed dbus-user-session this morning, logged out and back in, and the
> agent connection still hung. Then I masked the systemd user units per the Debian
> README for gpg-agent, and now everything is working again.

hm, masking the user units really shouldn't be necessary.  if you can
explain your system setup to me (see the questions asked elsewhere in
the thread), i'd be happy to try to replicate the problem and give a
better diagnosis.

        --dkg



More information about the Gnupg-users mailing list