Skip to content
Edit this page

Verifying a release

Every release is built and signed by the release-please.yml workflow on main, with no long-lived keys: the signatures come from that workflow's GitHub OIDC identity, through Sigstore. Check that identity before you install.

The Python package

PyPI keeps a publish attestation for the wheel and the source archive, signed by the workflow that uploaded them (trusted publishing). Verify them with pypi-attestations:

for file in kubedelos-<release>-py3-none-any.whl kubedelos-<release>.tar.gz; do
  pipx run pypi-attestations verify pypi --repository https://github.com/k8s-servant/kubedelos "pypi:$file"
done

It checks one file per call, and each prints OK:. A file uploaded from anywhere else fails with "provenance was signed by repository ...".

The image and the chart

The image and the chart are signed keylessly with cosign in separate jobs:

IDENTITY='^https://github.com/k8s-servant/kubedelos/\.github/workflows/release-please\.yml@refs/heads/main$'
ISSUER=https://token.actions.githubusercontent.com

cosign verify ghcr.io/k8s-servant/kubedelos:<release> \
  --certificate-identity-regexp "$IDENTITY" --certificate-oidc-issuer "$ISSUER"

cosign verify ghcr.io/k8s-servant/charts/kubedelos:<release> \
  --certificate-identity-regexp "$IDENTITY" --certificate-oidc-issuer "$ISSUER"

To install exactly what you verified, use the digest cosign verify printed: helm install ... --set image.digest=sha256:....

SBOM and provenance

The image, for linux/amd64 and linux/arm64, carries an SPDX SBOM and a SLSA provenance attestation from the build:

docker buildx imagetools inspect ghcr.io/k8s-servant/kubedelos:<release> --format '{{ json .SBOM }}'
docker buildx imagetools inspect ghcr.io/k8s-servant/kubedelos:<release> --format '{{ json .Provenance }}'

What else is pinned

  • Trivy: kubedelos runs Trivy v0.76.1 and checks the download against a SHA-256 built into kubedelos, taken from Trivy's checksums file after its Sigstore signature verified. It never resolves "latest".
  • The image's Python packages: installed only from hashed lock files (requirements/).
  • The workflows: every action is pinned to a full commit SHA, and the tools they install are pinned by SHA-256.