Learning center

What does signing a code review export let a reader verify?

A signature can help the reader verify the exact export and the signer that produced it under an agreed trust configuration. Keep the signed bytes and verification material with the export. Record the review’s own actors inside the signed record.

Verify a signer after the review tool is gone#

Suppose an export job produces a manifest containing the repository ID, reviewed revision and file digests. It signs the manifest with Cosign using a workflow identity. The storage provider later moves the export to a new location. The reader verifies the original bytes, the bundle and the expected signer identity and issuer. If a JSON reformatter changes the manifest, verification should fail for the changed bytes.

Run the test from a fresh reader environment using the documented verification inputs. If the reader will be offline, also make the necessary trusted verification material available through the approved route and test that configuration. A passing signature says the export corresponds to the signer under that policy. The approval and test outcome inside it need their own evidence. Cosign verification · Sigstore bundle format

Keep a record of which source and artifacts the manifest points to.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading