gpg-agent self-termination when private-keys-v1.d goes away
justus at g10code.com
Tue Jun 13 12:45:51 CEST 2017
Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:
> I propose to add private-keys-v1.d/ to the gpg-agent's inotify
> watchlist, and to have the agent terminate if it notices that directory
> being deleted as well.
Why not watch the $GNUPGHOME itself?
> I think that will fix the concern described above on GNU/Linux at
For the other platforms, we can periodically stat the directory in the
thread that manually watches the sockets.
> any objections or concerns about this approach?
I'm concerned that we are still cleaning up after the socketdir "fix".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the Gnupg-devel