gpg2 / gpg-agent passphrase prompt

ASSI Stromeko@nexgo.de
Wed Jan 22 18:23:40 GMT 2025


ASSI via Cygwin writes:
> I've got a new machine with Win11 at work, copied over all my
> configuration from the old Win10 one, but I can't seem to get gpg2 to
> show the passphrase prompt through the W32 GUI of GPG agent.  In fact
> the agent doesn't seem to even start (the named pipes do not get
> created) and I get prompted directly by gpg2.  Any ideas where I should
> look or what config I may have missing?

I finally got on the right track when I noticed I could resurrect the
functionality by manually starting gpg-agent and then setting up an
appropriate GPG_AGENT_INFO environment variable (which should be
unnecessary for gpg2).

Turns out that the (fresh) installation of Cygwin on this machine which
has exactly the same package selection was hosed up by a different
package installation order:  Some time ago the GnuPG2 package was
changed to replace /usr/bin/gpg (and gpg2 is now a symlink to that), but
of course the old gpg package installs it's own executable in exactly
the same place.  Guess which package was installed last… :-)


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


More information about the Cygwin mailing list