ctubbsii commented on issue #790: Add verification code to RC email URL: https://github.com/apache/incubator-fluo/issues/790#issuecomment-307968986 Here's one that checks all files downloaded: ```bash function checkFile { echo '=' echo "$1" gpg2 --verify "$1".asc "$1" echo "$(cat "$1".md5) *$1" >> MD5SUM echo "$(cat "$1".sha1) *$1" >> SHA1SUM } export -f checkFile rm MD5SUM SHA1SUM find . -type f -not -name '*.asc' -not -name '*.md5' -not -name '*.sha1' -exec bash -c 'checkFile "$0"' {} \; md5sum --quiet -c MD5SUM sha1sum --quiet -c SHA1SUM ``` This assumes the download of the staging repo skipped webserver generated content, and maven repo content, as in: ```bash wget -erobots=off --no-verbose \ --recursive --level inf --no-parent --no-host-directories \ --reject 'index.html,maven-metadata.xml*,archetype-catalog.xml' \ -P download \ "$url" ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services