Supply Chain Security: Sigstore, cosign & SBOM

Advanced · 45 minutes · 100 points

In this hands-on lab, you will explore modern software supply chain security practices using Sigstore's cosign tool and Syft. Because the lab has no Sigstore account and no network identity provider, you use cosign in its offline, key-pair mode: you generate a local key pair, sign and verify local artifacts and SBOMs without uploading anything to the public Rekor transparency log, and generate a Software Bill of Materials (SBOM) with Syft in SPDX and CycloneDX formats. This mirrors the signing and verification steps of a CI/CD supply chain, using keys instead of keyless (OIDC) signing.

What you’ll learn

How this lab works

  1. Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
  2. Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
  3. Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
  4. Finish and keep going: 100 points, your progress saved, and the next lab to try.

What it runs on

What you need

Topics: sigstore, cosign, sbom, supply-chain, security, spdx, cyclonedx, syft, artifact-signing, devops

Create a free account to start this lab.

Keep going