Build provenance and signatures
Different evidence answers different questions
A digest is a fingerprint computed from artifact bytes. A trusted expected digest detects a mismatch, but an untrusted digest alongside a download does not identify its producer. A digital signature can authenticate signed content when verified with the expected trust root and signer identity. Provenance is a statement about where and how a build was produced, including the builder and inputs. It needs authentication and policy checks too.
SLSA build track v1.1
Supply-chain Levels for Software Artifacts (SLSA) defines graduated requirements. In the selected v1.1 build track, Build L1 requires provenance, Build L2 adds signed provenance from a hosted build platform, and Build L3 strengthens build isolation and protection against provenance forgery. These are summarized goals, not a conformance checklist. A signed artifact alone does not establish a SLSA level, and the levels do not guarantee vulnerability-free code.
Example: compare release evidence
For a fictional Notes release, the policy expects builder notes-builder, source revision rev-42 and a specific artifact digest D42. A verifier report must confirm signature validity, expected signer and issuer, the digest binding and authenticated provenance for that same artifact. A valid signature from another signer, or provenance for D41, is insufficient. D42 and rev-42 are labels in this example, not real cryptographic values.
Verify before trusting
Use maintained verification tooling with explicit trust roots and identity expectations. Obtain policy from a separately trusted source. Check the actual downloaded bytes against the signed subject and ensure provenance describes the expected source and builder. Treat absent, invalid or mismatched evidence as a reason to block or escalate. A checksum, signature and provenance do not replace code review, dependency analysis or tests.
Practice: evidence boundaries
Compare the lab verification records and decide which satisfy the stated toy policy. Identify what a boolean signature_verified field assumes: an external trusted verifier already performed cryptographic and identity checks. Compute SHA-256 for the supplied benign local text and compare it with its recorded digest; explain why this is not signature verification.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Build provenance and signatures — knowledge check
Apply software supply-chain security principles to fictional scenarios.
An untrusted download includes its own digest. What is missing?
What does authenticated provenance describe?
Signature valid but signer unexpected. Toy policy decision?
What distinguishes SLSA v1.1 Build L3 from L2 in broad terms?
Does matching a SHA-256 digest verify a signature?