FW: gpg-agent connection errors

Ingo Klöcker kloecker at kde.org
Fri May 22 11:24:39 CEST 2020

On Freitag, 22. Mai 2020 10:48:55 CEST Werner Koch via Gnupg-users wrote:
> On Fri, 22 May 2020 03:18, Ángel said:
> > how this AF_UNIX socket is actually implemented on Gpg4win (as a named
> > pipe, perhaps?), but your issues might be related to having it on a
> It is a regular file with a nonce and a port.  The server listens on
> localhost:THATPORT for connections and checks that the client provides
> the nonce in an initial handshake.  Now if some plain stupid firewall
> software (Symantec _used_ to be one) blocks connections from localhost
> to localhost things won't work.  But that can't be the problem of the OP
> because it worked most of the times.

Could also be caused by antivirus software. Such software prevents access to 
new files until it has checked those files. Maybe telling the antivirus 
software to ignore S.gpg-agent files helps.

As for gpg-agent, maybe it could retry binding the socket a few times (with 
some delay) if an unknown error occurs. 


More information about the Gnupg-users mailing list