gpg-agent self-termination when private-keys-v1.d goes away
Justus Winter
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
> least.
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".
Cheers,
Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170613/113fa623/attachment.sig>
More information about the Gnupg-devel
mailing list