Skip to content

rattler-build package attest#

Sign Sigstore attestations for already-built packages without uploading them

Usage#

rattler-build package attest [OPTIONS] --target-channel <TARGET_CHANNEL> <PACKAGE_FILES>...

Arguments#

  • <PACKAGE_FILES>
    Package files (.conda, .tar.bz2) to attest
    May be provided more than once.
    required: true

Options#

Description#

Sign Sigstore attestations for already-built packages without uploading them

Uses the ambient OIDC identity of the CI job (e.g. GitHub Actions with id-token: write) to sign a conda publish attestation (https://schemas.conda.org/attestations-publish-1.schema.json) for each package. The Sigstore bundle is written next to the package as <filename>.sigstore.json and can optionally be stored in GitHub's attestation API, so a channel can retrieve it later by the package's SHA-256 digest.