<!-- Generated by website/scripts/sync-docs.mjs from docs/guide/verify-releases.md. Edit that file, not this one. -->

# Verifying releases

> Every page of this site: https://dyokto.github.io/y509/docs/llms.txt

Releases include Sigstore-signed checksums, an SPDX SBOM per archive and SLSA build provenance.

Releases after v1.17.0 are signed by `https://github.com/dyokto/y509/.github/workflows/release.yml@refs/tags/<tag>`.

Provenance:

```bash
gh attestation verify y509-<version>-<os>-<arch>.tar.gz -R dyokto/y509
```

Checksums (signed keyless via GitHub OIDC, bundled in `y509-<version>-checksums.txt.sigstore.json`):

```bash
TAG=v<version>
gh release download "$TAG" -R dyokto/y509 -p '*-checksums.txt*'

cosign verify-blob \
  --bundle "y509-${TAG#v}-checksums.txt.sigstore.json" \
  --certificate-identity-regexp '^https://github.com/dyokto/y509/.github/workflows/release.yml@refs/tags/' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  "y509-${TAG#v}-checksums.txt"

sha256sum -c "y509-${TAG#v}-checksums.txt" --ignore-missing
```

Releases up to v1.17.0 were built before the move. Download them with `-R kanywst/y509` (GitHub redirects either name) and verify them against the old identity:

```bash
gh attestation verify y509-<version>-<os>-<arch>.tar.gz -R kanywst/y509

cosign verify-blob \
  --bundle "y509-${TAG#v}-checksums.txt.sigstore.json" \
  --certificate-identity-regexp '^https://github.com/kanywst/y509/.github/workflows/release.yml@refs/tags/' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  "y509-${TAG#v}-checksums.txt"
```

v1.0.2 and earlier ship a `.sig` and `.pem` instead. Verify those with `--signature` and `--certificate` on cosign 2.x (3.x dropped both flags).
