From 5c4d59eb290df42aa7ee063fa31b83b2ae9ba8b4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 12 Dec 2015 15:51:56 +0100 Subject: reproducible archlinux: detect when sources cannot be verified due to unknown public PGP keys --- bin/reproducible_html_archlinux.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 36e02da9..089891e3 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -58,6 +58,14 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do HTML_TARGET=$HTML_404 let NR_404+=1 echo " \"404 failed to download source" >> $HTML_BUFFER + elif [ ! -z "$(egrep '==> ERROR: One or more PGP signatures could not be verified' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + HTML_TARGET=$HTML_404 + let NR_404+=1 + EXTRA_REASON="" + if [ ! -z "$(grep 'FAILED (unknown public key' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + EXTRA_REASON="(unknown public key)" + fi + echo " \"404 failed to verify source with PGP signatures $EXTRA_REASON" >> $HTML_BUFFER elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 -- cgit v1.2.3-70-g09d2