Skip to content
Release Radar

Cosign

Security

Code signing and transparency for containers and binaries

v3.1.476 days after v3.1.3
View on GitHub

Release history

v3.1.4

CompareGitHub

Changelog

  • 3428d3c Build releases with 1.27.3 (#5177)
  • 821c9bf Add AGENTS.md, update contributors.md with reference to AI policy (#5176)
  • cfeaa4a Implement cosign bundle create-from-container (#5144)
  • e2d25b5 Mention windows builds in readme (#5147)
  • 6a83f9a fix(verify): don't panic on a bundle entry with no hash (#5127)
  • 0ea1cec refactor: remove uploadToRekor parameter from ConfirmPrivacyStatement
  • ff2a8f4 fix(sign): pass digest hash algorithm to underlying signer in SignData
  • 7757e8b fix(e2e): enable UseSignedTimestamps in *TSAMTLSWithSigningConfig
  • f624836 test(verify): add failure cases for new bundle verification
  • 907c3d8 fix(sign): propagate BundlePath from SignOptions to KeyOpts
  • 0c66ecd clean: update inaccurate warning (#4909)
  • 67a1216 fix: write referrers when image index has attestations (#5111)
  • ac3a927 fix(verify): enforce mutually exclusive key and security key (#5124)
  • 048eff5 Reorder events in LoadTrustedMaterialAndSigningConfig
  • 43d83e8 fix(layout): preserve manifest artifactType in index.json when saving (#4821)
  • 1dbbc36 fix(load): upload bundle layer blobs before manifest PUT
  • 81b61e2 fix: strip trailing whitespace from attached signature files/stdin (#5058)
  • b327bba fix: clarify COSIGN_REPOSITORY error when repository path is missing
  • 3532c1d fix: include annotations in implied payload for offline verify
  • b84a076 Cap the bundle layer read in ociremote.Bundle
  • d39ab7c Align privacy statement prompt behavior (#5076)
  • 559c58c copy annotations by key instead of copying obj (#5103)
  • 37cf1bc Add org.opencontainers.image.title annotation to attestation layers (#4498)
  • dd9ef85 feat: Add org.opencontainers.image.source label to images (#5095)
  • 00c1772 refactor: extract signing flag validation (#5070)
  • 39037f1 fix: restrict bundle signing and attestation to one artifact (#5081)
  • 5b6e930 fix: pass missing OIDC flags to KeyOpts (#5079)
  • 20c7516 fix(verify): support image indexes in local bundle discovery (#5080)
  • 81fa4e9 fix(verify): propagate CommonVerifyOptions to VerifyCommand (#5094)
  • 84effab fix: verify-blob should not force SHA256 for non-default key hash algorithms (#5064)
  • e9af93f fix(providers): clearer errors when GitHub OIDC token request fails (#5062)
  • 8b8c87b feat: --slot option argument shell completion (#5057)
  • 0a5f602 Deprecate --use-signing-config (#5056)
  • 990e273 fix: use correct Rekor URLs to activate privacy warning (#5054)
  • 151d838 fix: only show public-instance privacy statement for the default Rekor URL (#5042)

Thanks to all contributors!

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