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
- Install and configure cosign and Syft supply chain security tools
- Generate a key pair with cosign and sign a blob/artifact offline with that key (no transparency log)
- Verify cosign signatures and understand the verification workflow
- Generate a Software Bill of Materials (SBOM) in SPDX and CycloneDX formats using Syft
- Sign the generated SBOM files offline with the cosign key pair and record a verification summary
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- 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.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- Internet access for downloading tools and images
Topics: sigstore, cosign, sbom, supply-chain, security, spdx, cyclonedx, syft, artifact-signing, devops
Create a free account to start this lab.