]> git.ipfire.org Git - thirdparty/git.git/commit
t/lib-gpg: reload gpg components after updating trustlist
authorTodd Zullinger <tmz@pobox.com>
Fri, 4 Mar 2022 10:25:18 +0000 (11:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Mar 2022 19:36:41 +0000 (11:36 -0800)
commitfa47dd6445faea84300844f7d70fe22e710bdc22
tree203ac64f1449a8ca3e6a5191f11556c05128f5d7
parenta075e79d2c036e8e41900cfcb2177d75b92758c8
t/lib-gpg: reload gpg components after updating trustlist

With gpgsm from gnupg-2.3, the changes to the trustlist.txt do not
appear to be picked up without refreshing the gpg-agent.  Use the 'all'
keyword to reload all of the gpg components.  The scdaemon is started as
a child of gpg-agent, for example.

We used to have a --kill at this spot, but I removed it in 2e285e7803
(t/lib-gpg: drop redundant killing of gpg-agent, 2019-02-07).  It seems
like it might be necessary (again) for 2.3.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gpg.sh