ostree/src
Dan Nicholson b6979e7572 lib: Kill GPG agent when cleaning up tmp homedirs
When a temporary directory is used for GPG operations, it's pretty clear
that the running agent will be useless after the directory is deleted.
Call the new `ot_gpgme_kill_agent ()` helper to kill gpg-agent rather
than leaving them it hanging around forever.

As it turns out, gnupg does have code to make gpg-agent automatically
exit when the homedir is removed (https://dev.gnupg.org/T2756), but
that's only available on gnupg 2.2 or newer. Possibly this code can be
dropped later when that's more widely deployed or users/distros have
been advised to backport the necessary changes.

Closes: #1799
Approved by: cgwalters
2019-06-19 17:30:24 +00:00
..
boot boot: Activate ostree-finalize-staged even earlier 2019-04-15 00:11:00 +00:00
libostree lib: Kill GPG agent when cleaning up tmp homedirs 2019-06-19 17:30:24 +00:00
libotutil lib/gpg: Add helper to kill GPG agent 2019-06-19 17:30:24 +00:00
ostree lib/kargs: Make API public and upstream new rpm-ostree APIs 2019-06-18 14:29:14 +00:00
rofiles-fuse rofiles-fuse: Improve error message for failure to open root 2018-10-12 14:11:10 +00:00
switchroot prepare-root: remove ignored MS_MGC_VAL flag 2019-05-05 20:53:17 +00:00