Skip to content

docs: remove obsolete COSIGN_EXPERIMENTAL=1 from keyless attest example#442

Open
mailnike wants to merge 1 commit into
sigstore:mainfrom
mailnike:fix-obsolete-cosign-experimental
Open

docs: remove obsolete COSIGN_EXPERIMENTAL=1 from keyless attest example#442
mailnike wants to merge 1 commit into
sigstore:mainfrom
mailnike:fix-obsolete-cosign-experimental

Conversation

@mailnike

Copy link
Copy Markdown

Description

The policy-controller/sample-policies.md SBOM example sets export COSIGN_EXPERIMENTAL=1 before a keyless cosign attest call. Keyless signing/attestation has been the default since cosign v2, so this variable is no longer required and is misleading for anyone on a current cosign release.

Per the cosign CHANGELOG.md:

  • COSIGN_EXPERIMENTAL=1 is no longer required to have identity-based ("keyless") signing and transparency.
  • Removing the COSIGN_EXPERIMENTAL environment variable, so the default signing method is now keyless signing with Fulcio.

This removes the stale export line; the cosign attest command is unchanged and already signs keylessly against the public Fulcio root.

Closes #440.

Keyless signing and attestation is the default since cosign v2, so the
COSIGN_EXPERIMENTAL=1 environment variable is no longer required for the
cosign attest example. Closes sigstore#440.

Signed-off-by: Nikhil Jathar <22786232+mailnike@users.noreply.github.com>
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for docssigstore ready!

Name Link
🔨 Latest commit 84832c6
🔍 Latest deploy log https://app.netlify.com/projects/docssigstore/deploys/6a440b19d7a16e0008c07f11
😎 Deploy Preview https://deploy-preview-442--docssigstore.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove obsolete COSIGN_EXPERIMENTAL=1 from keyless cosign attest example (keyless is default since cosign v2)

1 participant