summaryrefslogtreecommitdiff
path: root/download-missing-kernel-keys
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-17 10:33:39 +0200
committerErich Eckner <git@eckner.net>2016-05-17 10:33:39 +0200
commitde7037c767fe8dfe7f430841bb17233ab1f61675 (patch)
tree2fb0d450e589ef7c7954e89f8148532f2ab7bb95 /download-missing-kernel-keys
parentee005b37624f1149101e42956eecf2ebd62c8854 (diff)
downloadkernelKeys-de7037c767fe8dfe7f430841bb17233ab1f61675.tar.xz
check-trustdb nur am Ende
Diffstat (limited to 'download-missing-kernel-keys')
-rwxr-xr-xdownload-missing-kernel-keys8
1 files changed, 6 insertions, 2 deletions
diff --git a/download-missing-kernel-keys b/download-missing-kernel-keys
index e6348e8..06048ec 100755
--- a/download-missing-kernel-keys
+++ b/download-missing-kernel-keys
@@ -25,7 +25,6 @@ alteKeyIds="$(
for ((i=0; i<$lvl; i++))
do
- echo "stage ${i}:" $(echo "${alteKeyIds}" | wc -l) "keys."
keyIds="$(
gpg --list-sigs --fast-list-mode --fixed-list-mode --with-colons ${alteKeyIds} | \
grep '^sig:' | \
@@ -33,6 +32,7 @@ do
sed 's|^|0x|' | \
sort -u
)"
+ echo "stage ${i}:" $(echo "${alteKeyIds}" | wc -l) "keys ->" $(echo "${keyIds}" | wc -l) "keys."
alleKeyIds="$(
(
echo "${keyIds}"
@@ -47,7 +47,11 @@ do
) | \
sort | \
uniq -u | \
- xargs -n50 gpg --recv-keys
+ xargs -n50 gpg --recv-keys --no-auto-check-trustdb
alteKeyIds="${alleKeyIds}"
done
+
+echo "checking trustdb ..."
+gpg --check-trustdb
+echo "... done"