Verify a release
Every release from v2.5.2 onwards has three things you can check yourself:
checksums.txt, the SHA-256 of every archivechecksums.txt.sig, an Ed25519 signature over that file- A GitHub SLSA build-provenance attestation for each archive and image
1. Download
Section titled “1. Download”gh release download v2.5.2 --repo bartrumb/edgefetch \ --pattern 'checksums.txt*' --pattern 'release-signing-pub.pem' \ --pattern 'edgefetch_2.5.2_linux_amd64.tar.gz'2. Check the signature
Section titled “2. Check the signature”openssl pkeyutl -verify -pubin -inkey release-signing-pub.pem \ -rawin -in checksums.txt -sigfile checksums.txt.sig# Signature Verified SuccessfullyCompare release-signing-pub.pem with
keys/release-signing-pub.pem
in the repository. Don’t trust a key that only came with the download.
3. Check the archive hash
Section titled “3. Check the archive hash”sha256sum --ignore-missing -c checksums.txt4. Check the provenance
Section titled “4. Check the provenance”gh attestation verify edgefetch_2.5.2_linux_amd64.tar.gz --repo bartrumb/edgefetchThis confirms the archive was built by the repository’s GitHub Actions release workflow from the tagged commit.
Container images have attestations too:
gh attestation verify oci://ghcr.io/bartrumb/edgefetch-agent:2.5.2 --repo bartrumb/edgefetch