Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Verifying releases

Every FerroTERM release artifact carries a signed provenance attestation. Verify it before you run a binary or pull an image, so you know the artifact was built by the project’s own release workflow and not tampered with. The pipeline and its rationale are in docs/ci-cd.md.

What a release carries

For each target (x86_64 and aarch64, glibc and musl), the release holds:

FileWhat it is
ferroterm-<tag>-<target>.tar.gzferroterm, ferroterm-build and ferroterm-sync, built with cargo auditable so the dependency list is embedded in the binary
….tar.gz.sha256sumthe checksum
….tar.gz.sigstore.json and ….tar.gz.intoto.jsonlthe SLSA provenance, signed keyless through Sigstore by the release workflow’s identity
ferroterm-<tag>-<target>.cdx.json, ferroterm-build-<tag>-<target>.cdx.json and ferroterm-sync-<tag>-<target>.cdx.jsonCycloneDX SBOMs of the three binaries
….tar.gz.sbom.sigstore.json, ….tar.gz.build-sbom.sigstore.json and ….tar.gz.sync-sbom.sigstore.jsonthe SBOMs’ attestations
compose.yamlthe quickstart, pinned to the release’s image tag

The container images carry the same provenance and SBOM attestations per platform: ghcr.io/ferrohealth/ferroterm (the server), ghcr.io/ferrohealth/ferroterm-sync (the synchronisation service), both signed by release-image.yml, and ghcr.io/ferrohealth/ferroterm-console (the console), signed by release-console.yml. Verify the sync image the way the server image is verified below, with its name in the reference.

Verify the provenance

$ gh attestation verify ferroterm-v0.4.9-x86_64-unknown-linux-musl.tar.gz \
    -R FerroHEALTH/FerroTERM \
    --signer-workflow FerroHEALTH/FerroTERM/.github/workflows/release-build.yml
$ gh attestation verify oci://ghcr.io/ferrohealth/ferroterm:0.4.9 \
    -R FerroHEALTH/FerroTERM \
    --signer-workflow FerroHEALTH/FerroTERM/.github/workflows/release-image.yml

The --signer-workflow flag is the point of the check. It requires that the attestation was produced by that exact reusable workflow in this repository, so a signature from any other workflow or repository fails. FerroTERM builds its releases in reusable workflows to reach SLSA Build Level 3, where the signing identity is not reachable by user build steps.

Check the checksum

$ sha256sum -c ferroterm-v0.4.9-x86_64-unknown-linux-musl.tar.gz.sha256sum

Run both checks. The checksum tells you the bytes are intact, and the attestation tells you where the bytes came from.