I agree that would be great. Meanwhile, I am using this script/command to achieve the same result:
for a in 1 256 512; do for f in `find . -type f -name "*.sha${a}"`; do claim=`cat $f |cut -d' ' -f1`; actual=`shasum ${f%.sha*} -a ${a} |cut -d' ' -f1`; if [[ "$claim" == "$actual" ]]; then echo " OK $f" ; else echo " FAIL $f"; fi; done done for f in `find . -type f -name "*.asc"`; do if gpg 2>&1 --verify $f |grep -q "Good sig" ; then echo " OK $f" ; else echo " FAIL $f"; fi ; done On Thu, Dec 30, 2021 at 3:19 AM Gary Gregory <garydgreg...@gmail.com> wrote: > That would be great. > > Gary > > On Wed, Dec 29, 2021, 12:54 Matt Sicker <boa...@gmail.com> wrote: > > > The SHA files are generated via a Maven plugin that only outputs the > hash, > > not the filename. Looks like we need to figure out how to configure that. > > -- > > Matt Sicker > > > > > On Dec 29, 2021, at 02:53, Volkan Yazıcı <vol...@yazi.ci> wrote: > > > > > > Certain hash files are not properly formatted (see below), can we (I?) > > fix > > > this? > > > > > > wget \ > > > --quiet \ > > > --execute robots=off \ > > > --timestamping \ > > > --cut-dirs=7 \ > > > --no-host-directories \ > > > --recursive \ > > > --page-requisites \ > > > --no-parent \ > > > --no-check-certificate \ > > > https://dist.apache.org/repos/dist/dev/logging/log4j/ > > > > > > for sha_alg in 256 512; do > > > find . -type f -name "*.sha$sha_alg" | while read sha_file; do > > > shasum --algorithm $sha_alg --check "$sha_file" > > > done > > > done > > > > > > apache-log4j-api-scala-13.0-src.tar.gz: OK > > > apache-log4j-api-kotlin-1.2.0-bin.tar.gz: OK > > > apache-log4j-api-scala-13.0-src.zip: OK > > > apache-log4j-api-kotlin-1.2.0-bin.zip: OK > > > shasum: ./apache-log4j-2.12.4-src.tar.gz.sha256: no properly formatted > > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.12.4-bin.zip.sha256: no properly formatted SHA > > > checksum lines found > > > apache-log4j-api-kotlin-1.2.0-src.zip: OK > > > apache-log4j-api-kotlin-1.2.0-bin.tar.bz2: OK > > > apache-log4j-api-scala-13.0-bin.zip: OK > > > shasum: ./apache-log4j-2.3.2-src.zip.sha256: no properly formatted SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.3.2-bin.tar.gz.sha256: no properly formatted > SHA > > > checksum lines found > > > apache-log4j-api-kotlin-1.2.0-src.tar.bz2: OK > > > shasum: ./apache-log4j-2.12.4-bin.tar.gz.sha256: no properly formatted > > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.12.4-src.zip.sha256: no properly formatted SHA > > > checksum lines found > > > apache-log4j-api-scala-13.0-bin.tar.gz: OK > > > apache-log4j-api-kotlin-1.2.0-src.tar.gz: OK > > > shasum: ./apache-log4j-2.3.2-src.tar.gz.sha256: no properly formatted > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.12.4-src.zip.sha512: no properly formatted SHA > > > checksum lines found > > > apache-log4j-api-scala-13.0-bin.zip: OK > > > apache-log4j-api-scala-13.0-bin.tar.gz: OK > > > apache-log4j-api-scala-13.0-src.tar.gz: OK > > > shasum: ./apache-log4j-2.12.4-bin.zip.sha512: no properly formatted SHA > > > checksum lines found > > > apache-log4j-api-kotlin-1.2.0-src.tar.gz: OK > > > apache-log4j-api-kotlin-1.2.0-src.zip: OK > > > shasum: ./apache-log4j-2.3.2-src.tar.gz.sha512: no properly formatted > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.3.2-src.zip.sha512: no properly formatted SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.12.4-src.tar.gz.sha512: no properly formatted > > SHA > > > checksum lines found > > > apache-log4j-api-kotlin-1.2.0-bin.tar.gz: OK > > > apache-log4j-api-kotlin-1.2.0-bin.tar.bz2: OK > > > apache-log4j-api-scala-13.0-src.zip: OK > > > apache-log4j-api-kotlin-1.2.0-src.tar.bz2: OK > > > shasum: ./apache-log4j-2.3.2-bin.tar.gz.sha512: no properly formatted > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.12.4-bin.tar.gz.sha512: no properly formatted > > SHA > > > checksum lines found > > > shasum: ./apache-log4j-2.3.2-bin.zip.sha512: no properly formatted SHA > > > checksum lines found > > > apache-log4j-api-kotlin-1.2.0-bin.zip: OK > > > > >