Skip to content

chore(deps): update module github.com/sigstore/cosign/v2 to v3 (main)#7014

Open
elastic-renovate-prod[bot] wants to merge 1 commit into
mainfrom
renovate/main-major-sigstore
Open

chore(deps): update module github.com/sigstore/cosign/v2 to v3 (main)#7014
elastic-renovate-prod[bot] wants to merge 1 commit into
mainfrom
renovate/main-major-sigstore

Conversation

@elastic-renovate-prod

@elastic-renovate-prod elastic-renovate-prod Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/sigstore/cosign/v2 v2.6.3v3.1.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sigstore/cosign (github.com/sigstore/cosign/v2)

v3.1.2

Compare Source

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

Features

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!

v3.1.1

Compare Source

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.

  • Initialize PKCS11 slots Before Getting Token Info in #​4803
  • Sign exclusively via sigstore-go in #​4618
  • bundle create: Prevent IgnoreTlog when bundle contains SET in #​4829
  • Require bundle output or registry upload in #​4785
  • fix(load): pass NameOptions to name.ParseReference in #​4786
  • fix: honor --digestAlg when hashing a blob in verify-blob-attestation in #​4813
  • Deprecate Flags for v4: Certificates in #​4822
  • Deprecate flags signing config in #​4844
  • Deprecate flags bundle in #​4838
  • Fix typo in map of verify command fields unsupported for new bundle format in #​4853
  • Add bundle upgrade command in #​4820
  • Deprecate Flags for v4 in #​4854
  • fix: close file descriptor leaked in WriteSignedImageIndexImages loop in #​4869
  • fix: use Header.Set to prevent duplicate Authorization on retry in #​4870
  • feat(cli): add Rekor v2 flag to cosign signing-config create in #​4868
  • Fix crash verifying timestamps when no timestamp was verified in #​4881
  • Deprecate Flags for v4: OCI Referrers in #​4804
  • Use the configured Target Repository more consistently in #​4836
  • fix: check HTTP status code in LoadFileOrURL in #​4877
  • Fix unsafe type assertion in Rego policy evaluation by in #​4882
  • Fix Ed25519ph check to respect custom signing configs in sign-blob in #​4880
  • Enable initialize command output in conformance in #​4892
  • verify: return TUF errors for new bundle trusted roots in #​4878
  • Deprecate subcommands in #​4894
  • Remove docstring references to deprecated flags in #​4910
  • fix(verify): Attach detached certificates to static signatures via wrapped verifier in #​4737
  • fix(verify): copy CheckOpts inside VerifyNewBundle to fix data race in #​4917
  • Update sigstore-go to v1.2.0 in #​4914

Full Changelog: sigstore/cosign@v3.0.6...v3.1.1

v3.1.0

Compare Source

v3.0.6

Compare Source

Changelog

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

Thanks to all contributors!

v3.0.5

Compare Source

Deprecations

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)

v3.0.4

Compare Source

v3.0.4 resolves GHSA-whqx-f9j3-ch6m.

Changes

  • Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m) (#​4623)
  • Optimize cosign tree performance by caching digest resolution (#​4612)
  • Don't require a trusted root to verify offline with a key (#​4613)
  • Support default services for trusted-root and signing-config creation (#​4592)

v3.0.3

Compare Source

Thank you for all of your feedback on Cosign v3! v3.0.3 fixes a number of bugs reported by
the community along with adding compatibility for the new bundle format and attestation
storage in OCI to additional commands. We're continuing to work on compatibility with
the remaining commands and will have a new release shortly. If you run into any problems,
please file an issue

Changes

  • 4554: Closes 4554 - Add warning when --output* is used (#​4556)
  • Protobuf bundle support for subcommand clean (#​4539)
  • Add staging flag to initialize with staging TUF metadata
  • Updating sign-blob to also support signing with a certificate (#​4547)
  • Protobuf bundle support for subcommands save and load (#​4538)
  • Fix cert attachment for new bundle with signing config
  • Fix OCI verification with local cert - old bundle
  • Deprecate tlog-upload flag (#​4458)
  • fix: Use signal context for sign cli package.
  • update offline verification directions (#​4526)
  • Fix signing/verifying annotations for new bundle
  • Add support to download and attach for protobuf bundles (#​4477)
  • Add --signing-algorithm flag (#​3497)
  • Refactor signcommon bundle helpers
  • Add --bundle and fix --upload for new bundle
  • Pass insecure registry flags through to referrers
  • Add protobuf bundle support for tree subcommand (#​4491)
  • Remove stale embed import (#​4492)
  • Support multiple container identities
  • Fix segfault when no attestations are found (#​4472)
  • Use overridden repository for new bundle format (#​4473)
  • Remove --out flag from cosign initialize (#​4462)
  • Deprecate offline flag (#​4457)
  • Deduplicate code in sign/attest* and verify* commands (#​4449)
  • Cache signing config when calling initialize (#​4456)

v3.0.2

Compare Source

v3.0.2 is a functionally equivalent release to v3.0.0 and v3.0.1, with a fix for CI to publish signed releases in the new bundle format.

  • Note that the --bundle flag specifying an output file to write the Sigstore bundle (which contains all relevant verification material) has moved from optional to required in v3.

Changes

  • choose different signature filename for KMS-signed release signatures (#​4448)
  • Update rekor-tiles version path (#​4450)

v3.0.1

Compare Source

v3.0.1 is an equivalent release to v3.0.0, which was never published due to a failure in our CI workflows.

  • Note that the --bundle flag specifying an output file to write the Sigstore bundle (which contains all relevant verification material) has moved from optional to required in v3.

Changes

  • update goreleaser config for v3.0.0 release (#​4446)

v3.0.0

Compare Source

Announcing the next major release of Cosign!

Cosign v3 is a minor change from Cosign v2.6.x, with all of the new capabilities of recent
releases on by default, but will still allow you to disable them if you need the older functionality.
These new features include support for the standardized bundle format (--new-bundle-fomat), providing roots
of trust for verification and service URLs for signing via one file (--trusted-root, --signing-config),
and container signatures stored as an OCI Image 1.1 referring artifact.

Learn more on our v3 announcement blog post! See
the changelogs for v2.6.0, v2.5.0, and v2.4.0 for more information on recent
changes.

If you have any feedback, please reach out on Slack or file an issue on GitHub.

Changes

  • Default to using the new protobuf format (#​4318)
  • Fetch service URLs from the TUF PGI signing config by default (#​4428)
  • Bump module version to v3 for Cosign v3.0 (#​4427)

v2.6.4

Compare Source

This release is a backport of OCI manifest fixes, and better support for cosign attestation download when you are using a mix of old Cosign signatures with the more recent bundle format.

We strongly encourage folks to continue their migration to the bundle format. The Cosign v3.1.x releases support both formats; the primary change being that the default for signing is the bundle format (although you can specify --new-bundle-format=false to sign with the old format). The verification commands in Cosign v3.1.x support both formats, and will try to detect the format for you for maximum compatibility.

Changelog

  • 26261f0 Allow attestation download to handle both bundle types (#​4996) (#​5017)
  • d49a0c1 fix: include artifactType in OCI 1.1 signature referrer manifest (cherry-pick PR-4997 to release-2.6) (#​5002)
Thanks to all contributors!

Configuration

📅 Schedule: Branch creation - Between 01:00 AM and 01:59 AM, Monday through Friday ( * 1 * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate labels Jun 30, 2026
@elastic-renovate-prod
elastic-renovate-prod Bot requested a review from a team as a code owner June 30, 2026 07:54
@elastic-renovate-prod elastic-renovate-prod Bot added the Team:Security-Cloud Services Security Data Experience - Cloud Services team. label Jun 30, 2026
@elastic-renovate-prod

Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 11 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/otel v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/metric v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/sdk v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/sdk/metric v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/trace v1.43.0 -> v1.44.0
github.com/go-openapi/swag/conv v0.26.0 -> v0.26.1
github.com/go-openapi/swag/typeutils v0.26.0 -> v0.26.1
github.com/sigstore/rekor-tiles/v2 v2.2.1 -> v2.2.2-0.20260601073857-5d098a2b6443
github.com/sigstore/sigstore-go v1.1.4 -> v1.2.0
github.com/go-openapi/analysis v0.25.1 -> v0.25.2
github.com/go-openapi/runtime v0.32.2 -> v0.32.3

@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Jun 30, 2026
@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 3 times, most recently from 9032069 to 55fbc9e Compare July 1, 2026 08:05
@mergify

mergify Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/main-major-sigstore upstream/renovate/main-major-sigstore
git merge upstream/main
git push upstream renovate/main-major-sigstore

@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 8 times, most recently from cd77909 to d5d972f Compare July 2, 2026 15:55
@elastic-renovate-prod

elastic-renovate-prod Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 15 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/otel v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/metric v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/sdk v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/sdk/metric v1.43.0 -> v1.44.0
go.opentelemetry.io/otel/trace v1.43.0 -> v1.44.0
github.com/go-openapi/swag/jsonname v0.26.0 -> v0.26.1
github.com/sigstore/rekor-tiles/v2 v2.2.1 -> v2.3.0
github.com/sigstore/sigstore-go v1.1.4 -> v1.2.1
github.com/go-openapi/analysis v0.25.1 -> v0.25.2
github.com/go-openapi/loads v0.23.3 -> v0.24.0
github.com/go-openapi/runtime v0.32.2 -> v0.32.4
github.com/go-openapi/spec v0.22.5 -> v0.22.6
github.com/go-openapi/strfmt v0.26.3 -> v0.26.4
github.com/go-openapi/validate v0.25.3 -> v0.26.0
github.com/sigstore/rekor v1.5.2 -> v1.5.3

@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 7 times, most recently from 7fa3b17 to c4e48e6 Compare July 7, 2026 11:18
@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 7 times, most recently from ffe592a to 722aa42 Compare July 9, 2026 10:54
@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 10 times, most recently from eb3d2af to d10601f Compare July 22, 2026 23:05
@mergify

mergify Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/main-major-sigstore upstream/renovate/main-major-sigstore
git merge upstream/main
git push upstream renovate/main-major-sigstore

@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch 10 times, most recently from 345b012 to fafbd17 Compare July 25, 2026 03:34
@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-major-sigstore branch from fafbd17 to 384fd3f Compare July 25, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip dependencies Pull requests that update a dependency file renovate Team:Security-Cloud Services Security Data Experience - Cloud Services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants