commit: 37df1995109795ef0f277f566ea9998a4e82fe9b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 28 17:43:17 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 17:43:32 2026 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=37df1995
Always kill gpg services when done
This will hopefully reduce the risk of dirmngr left hanging.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
gen-dev-wot.sh | 1 +
keyrings-export.bash | 1 +
2 files changed, 2 insertions(+)
diff --git a/gen-dev-wot.sh b/gen-dev-wot.sh
index 8f01995..e89890a 100755
--- a/gen-dev-wot.sh
+++ b/gen-dev-wot.sh
@@ -16,6 +16,7 @@ fi
gpg -q --keyid-format=long --keyring "${1}/active-devs.gpg" --list-sigs | \
/usr/bin/sig2dot -q -t "Gentoo Dev WoT" -s wot-stats.html \
> keys.dot
+gpgconf --kill all
dot -Gcharset=UTF-8 -Tsvg keys.dot > "${1}/wot-graph.svg"
diff --git a/keyrings-export.bash b/keyrings-export.bash
index 42f0b08..2f8cf89 100755
--- a/keyrings-export.bash
+++ b/keyrings-export.bash
@@ -128,4 +128,5 @@ for key in "${KEYRINGS[@]}" ; do
cp "${OUTPUT_DIR}"/${key}.gpg
"${OUTPUT_DIR}"/keys/${key}-${timestamp}.gpg
done
+gpgconf --kill all
clean_tmp