Sub topic 3
The Sigstore ecosystem at a glance
This chapter assumes you can build, tag, and push container images, and that you know what a public/private key pair and a digital signature are. It introduces the Sigstore components you will use in later chapters. It does not repeat why signing matters or how digests work.
What Sigstore is
Sigstore is an open-source project that provides tools and public services for signing software and verifying those signatures. It separates three jobs that are usually bundled together:
- Creating and checking signatures.
- Proving who the signer was.
- Keeping a public record that a signature was made.
Each job has its own component.
| Component | Role | Type |
|---|---|---|
| Cosign | CLI and library that signs, attests, and verifies container images | Client tool |
| Fulcio | Certificate authority that issues short-lived certificates tied to an OIDC identity | Service |
| Rekor | Append-only transparency log that records signing events | Service |
| OIDC provider | Authenticates the signer (for example Google, GitHub, or Microsoft) | External identity provider |
Cosign: the tool you run
Cosign is the part you interact with directly. It creates signatures, uploads them to the registry, and verifies them. It supports signing with a key you manage, a key held in a KMS, or a short-lived certificate (keyless). You will use it in every later chapter.
Fulcio: identity becomes a certificate
Fulcio is a certificate authority (CA). In keyless signing, you log in to an OIDC provider. Fulcio checks the resulting identity token and issues an X.509 certificate that binds a freshly generated public key to your identity, such as an email address or a CI workflow. The certificate is valid for only about ten minutes. Because the private key is used once and then discarded, there is no long-lived signing key to protect or leak.
Rekor: a public record
Rekor is a transparency log. It is append-only, so entries can be added but not altered or removed without detection. When you sign, Cosign records the signature and certificate in Rekor. A verifier can then confirm that the signature was created while the short-lived certificate was still valid, even though the certificate has long since expired.
How the pieces fit together
The diagram shows a keyless signing flow. Key-based signing skips the OIDC and Fulcio steps and uses a key file or KMS key instead.
Two things end up stored. The registry holds the signature next to the image. Rekor holds a public record of the signing event. The next chapters cover both in detail.
What you can verify
Verification answers a narrower question than people often expect. A successful check tells you that:
- the signature matches the exact image content you referenced;
- the key, or the certificate identity and issuer, matches what you required;
- for keyless signatures, the event appears in the transparency log.
It does not tell you that the image is free of vulnerabilities or that the signer is trustworthy. It only tells you who signed it and that it has not changed since.
Common mistakes at this stage
- Treating Sigstore as one service. Cosign works offline with your own keys. Fulcio and Rekor are only needed for keyless flows.
- Assuming the public Fulcio and Rekor instances are the only option. Organizations can run private instances. The public ones are open to anyone and record entries publicly.
- Putting sensitive names in keyless signatures. The identity in the certificate, and the Rekor entry, are publicly visible on the public instances.
Exercise
A teammate says, "Keyless signing means there is no private key at all." Is that correct? Which component issues the certificate, and what makes the lack of a stored key safe?
Show answer
Not exactly. A private key still exists, but Cosign generates it for a single signing operation and then discards it. Fulcio issues a certificate, valid for only a few minutes, that binds the matching public key to the signer's OIDC identity. Because the key is never stored and the certificate expires quickly, there is no long-lived secret to steal. Rekor's log entry lets verifiers confirm the signature was made while the certificate was valid.