From de7037c767fe8dfe7f430841bb17233ab1f61675 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 May 2016 10:33:39 +0200 Subject: check-trustdb nur am Ende --- download-missing-kernel-keys | 8 ++++++-- 1 file 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" -- cgit v1.2.3-70-g09d2