gpg-agent self-termination when private-keys-v1.d goes away

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 09:29:28 CEST 2017


On Tue 2017-06-13 15:07:00 +0200, Werner Koch wrote:
> On Tue, 13 Jun 2017 12:45, justus at g10code.com said:
>
>> For the other platforms, we can periodically stat the directory in the
>> thread that manually watches the sockets.
>
> Which I think is anyway the better solution than the non-portable
> inotify.  But we also need to consider the implications that we need to
> use stat in contrast to fstat; the directory entry might have already
> gone while gpg-agent still has a connection and is working fine on the
> inode.

for those following this thread, this was reported and resolved in
https://dev.gnupg.org/T3218 (and shipped in 2.1.22).

                --dkg



More information about the Gnupg-devel mailing list