Why sign digests and not tags?
BeginnerConceptSupply Chain, SBOM, Signing and Image/IaC Scanning
Answer
Tags are mutable pointers: app:1.4 can be repointed to different content after you signed or scanned it. A digest (sha256:...) identifies the exact manifest content. Scanning, signing, attestation and deployment should all reference the digest so what you verified is what runs.
Pin digests in manifests (or let a controller resolve tag to digest at admission) for the same reason.
More on Supply Chain, SBOM, Signing and Image/IaC Scanning
What is a software supply chain attack? Give examples.BeginnerExplain dependency confusion and typosquatting.IntermediateWhat is an SBOM and why do we need one?BeginnerCycloneDX vs SPDX: how do they differ?IntermediateHow do you generate and use an SBOM with Syft and Grype?BeginnerWhat is VEX?Intermediate