Skip to content
Release Radar

Cosign

Security

Code signing and transparency for containers and binaries

v3.1.319 days after v3.1.2
View on GitHub

Release history

v3.1.3

CompareGitHub

What's Changed

This release resolves GHSA-fx35-mq7g-6g98, a verification bypass using an unexpected public key in a legacy bundle.

Full Changelog: https://github.com/sigstore/cosign/compare/v3.1.2...v3.1.3

This may be the last Cosign v3.1 release, as we finish deprecations and removing unused functionality. Soon we'll start work on Cosign v4 where we will remove things that are currently deprecated. We'll continue to support Cosign v3, with it's opt-in backwards compatibility, as described in our versioning policy.

If you haven't already, now is an excellent time to move to the bundle format that has been supported since Cosign v2.6.

We have received a ton of fixes over the past month from folks using Cosign in a variety of environments - thank you all!

Deprecations

  • 816f2b6 Deprecate --payload for sign and verify commands (#4991)

Features

  • 5121398 docs: add OVHcloud KMS in available external plugins (#4962)
  • 38f73bb Add insecure registry flag to ko publish in kind-verify-attestation workflow (#4970)
  • 2e0749a Deprecate --output-attestation (#4958)
  • 2233166 Add bundle inspect command (#4842)

Fixes

  • eb3bb86 Guard against empty certificate PEM in mutate.Signature (#4998)
  • 089731c fix(download): Validate predicate type for new bundle format
  • d996ce1 Skip nil subject entries in IntotoSubjectClaimVerifier (#5016)
  • 8ca5b20 Fix Makefile: fall back to "unknown" version info when built outside a git repo (#5000)
  • df78bf6 fix(verify): skip identity validation for security keys (#5012)
  • aebdc3a fix: include artifactType in OCI 1.1 signature referrer manifest
  • c0edaac Allow attestation download to handle both bundle types (#4996)
  • a8642c7 Fix panic in dockerfile verify on malformed FROM lines (#4979)
  • ef3e3b4 fix(release): restore signing-step auth and fail on image signing errors (#4978)
  • 16ddbcf feat(signing-config): add --base-config flag to override services from base config (#4977)
  • f17f812 fix: pass NewBundleFormat to KeyOpts in sign command (#4981)
  • 6ef8d9d fix: ignore build stage references in dockerfile verify (#4961)
  • 8dbdef5 fix: allow '=' in annotation values (#4957)

Cleanup

Documentation

  • 8184126 feat: improve verify flag shell completions (#4965)
  • ed0efe8 docs: fix Short style and add Example fields to piv-tool subcommands (#4942)
  • d41b86c docs: add Example fields to env and bundle create commands (#4941)
  • 8a7174a docs: fix Short style and add Example fields to pkcs11-tool subcommands

Thanks to all contributors!

What's Changed

Note: v3.1.0 was skipped due to a bug in our release pipeline. v3.1.1 is identical to v3.1.0

This release deprecates a number of flags related to verification material input for trust root material, as well as the bundle format, standardized across Sigstore SDKs, which is now the default output and input for signing and verifying respectively. You may continue to use the deprecated flags with Cosign v3.x releases. The deprecated flags will be removed in a future Cosign v4 release.

This release also updates the signing path for logging to Rekor v2. DSSE attestations will be logged as hashed entries, using the DSSE's pre-auth encoding (PAE). This should unblock developers who want to upload large signed DSSEs such as SBOMs.

Full Changelog: https://github.com/sigstore/cosign/compare/v3.0.6...v3.1.1

Changelog

v3.0.6 resolves GHSA-w6c6-c85g-mmv6. This release also adds support for signing with OpenBao-managed keys.

  • f1ad3ee Fix DSSE predicate check (GHSA-w6c6-c85g-mmv6) (#4801)
  • a09afa9 Handle whitespace-only certificate annotation (#4760)
  • 5a38a6d fix(sign): closing SignerVerifier too early when signing with a security key (#4761)
  • 2290a59 Disallow --new-bundle-format and --rfc3161-timestamp (#4762)
  • 36f4008 support managed keys in conformance testing (#4728)
  • 3274cf9 Add support for GCE metadata server env var (#4732)
  • 2e9754a fix: preserve per-layer annotations in WriteAttestationsReferrer (#4709)
  • dece275 Fix parsing of in-toto for string predicates
  • bd4f0fd Mark batch of flags for deprecation (#4698)
  • 9b259ff disallow key and cert identity being used together during verification (#4636)
  • 95eb1c3 support key creation in GitLab group (#4704)

Thanks to all contributors!

v3.0.5

v3.0.5 resolves a low-severity advisory for private PKIs.

Deprecations

  • Deprecate rekor-entry-type flag (#4691)
  • Deprecate cosign triangulate (#4676)
  • Deprecate cosign copy (#4681)

Features

  • Automatically require signed timestamp with Rekor v2 entries (#4666)
  • Allow --local-image with --new-bundle-format for v2 and v3 signatures (#4626)
  • Add mTLS support for TSA client connections when signing with a signing config (#4620)
  • Enforce TSA requirement for Rekor v2, Fuclio signing (#4683)

Bug Fixes

  • Add empty predicate to cosign sign when payload type is application/vnd.in-toto+json (#4635)
  • fix: avoid panic on malformed attestation payload (#4651)
  • fix: avoid panic on malformed tlog entries (#4649)
  • fix: avoid panic on malformed replace payload (#4653)
  • Gracefully fail if bundle payload body is not a string (#4648)
  • Verify validity of chain rather than just certificate (#4663)
  • fix: avoid panic on malformed tlog entry body (#4652)

Documentation

  • docs(cosign): clarify RFC3161 revocation semantics (#4642)
  • Fix typo in CLI help (#4701)

Full Changelog: https://github.com/sigstore/cosign/compare/v3.0.4...v3.0.5

New Contributors