Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/sigstore/cosign/v2 v2.4.0v2.6.1 age adoption passing confidence

Release Notes

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

v2.6.1

Compare Source

Bug Fixes

  • Partially populate the output of cosign verify when working with new bundles (#​4416)
  • Bump sigstore-go, move conformance back to tagged release (#​4426)

v2.6.0

Compare Source

v2.6.0 introduces a number of new features, including:

  • Signing an in-toto statement rather than Cosign constructing one from a predicate, along with verifying a statement's subject using a digest and digest algorithm rather than providing a file reference (#​4306)
  • Uploading a signature and its verification material (a "bundle") as an OCI Image 1.1 referring artifact, completing #​3927 (#​4316)
  • Providing service URLs for signing and attesting using a SigningConfig. Note that this is required when using a Rekor v2 instance (#​4319)

Example generation and verification of a signed in-toto statement:

cosign attest-blob --new-bundle-format=true --bundle="digest-key-test.sigstore.json" --key="cosign.key" --statement="../sigstore-go/examples/sigstore-go-signing/intoto.txt"
cosign verify-blob-attestation --bundle="digest-key-test.sigstore.json" --key=cosign.pub --type=unused --digest="b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" --digestAlg="sha256"

Example container signing and verification using the new bundle format and referring artifacts:

cosign sign --new-bundle-format=true ghcr.io/user/alpine@sha256:a19367999603840546b8612572e338ec076c6d1f2fec61760a9e11410f546733
cosign verify --new-bundle-format=true ghcr.io/user/alpine@sha256:a19367999603840546b8612572e338ec076c6d1f2fec61760a9e11410f546733

Example usage of a signing config provided by the public good instance's TUF repository:

cosign sign-blob --use-signing-config --bundle sigstore.json README.md
cosign verify-blob --new-bundle-format --bundle sigstore.json --certificate-identity $EMAIL --certificate-oidc-issuer $ISSUER --use-signed-timestamps README.md

v2.6.0 leverages sigstore-go's signing and verification APIs gated behind these new flags. In an upcoming major release, we will be
updating Cosign to default to producing and consuming bundles to align with all other Sigstore SDKs.

Features

  • Add to attest-blob the ability to supply a complete in-toto statement, and add to verify-blob-attestation the ability to verify with just a digest (#​4306)
  • Have cosign sign support bundle format (#​4316)
  • Add support for SigningConfig for sign-blob/attest-blob, support Rekor v2 (#​4319)
  • Add support for SigningConfig in sign/attest (#​4371)
  • Support self-managed keys when signing with sigstore-go (#​4368)
  • Don't require timestamps when verifying with a key (#​4337)
  • Don't load content from TUF if trusted root path is specified (#​4347)
  • Add a terminal spinner while signing with sigstore-go (#​4402)
  • Require exclusively a SigningConfig or service URLs when signing (#​4403)
  • Remove SHA256 assumption in sign-blob/verify-blob (#​4050)
  • Bump sigstore-go, support alternative hash algorithms with keys (#​4386)

Breaking API Changes

  • sign.SignerFromKeyOpts no longer generates a key. Instead, it returns whether or not the client needs to generate a key, and if so, clients
    should call sign.KeylessSigner. This allows clients to more easily manage key generation.

Bug Fixes

  • Verify subject with bundle only when checking claims (#​4320)
  • Fixes to cosign sign / verify for the new bundle format (#​4346)

v2.5.3

Compare Source

Features

  • Add signing-config create command (#​4280)
  • Allow multiple services to be specified for trusted-root create (#​4285)
  • feat: Add OCI 1.1+ experimental support to tree (#​4205)
  • Add validity period end for trusted-root create (#​4271)

Bug Fixes

  • Fix cert verification logic for trusted-root/SCTs (#​4294)
  • force when copying the latest image to overwrite (#​4298)
  • avoid double-loading trustedroot from file (#​4264)

v2.5.2

Compare Source

Bug Fixes

  • Do not load trusted root when CT env key is set

Documentation

  • docs: improve doc for --no-upload option (#​4206)

v2.5.1

Compare Source

Features

  • Add Rekor v2 support for trusted-root create (#​4242)
  • Add baseUrl and Uri to trusted-root create command
  • Upgrade to TUF v2 client with trusted root
  • Don't verify SCT for a private PKI cert (#​4225)
  • Bump TSA library to relax EKU chain validation rules (#​4219)

Bug Fixes

  • Bump sigstore-go to pick up log index=0 fix (#​4162)
  • remove unused recursive flag on attest command (#​4187)

Docs

  • Fix indentation in verify-blob cmd examples (#​4160)

Releases

  • ensure we copy the latest tags on each release (#​4157)

Contributors

  • arthurus-rex
  • Babak K. Shandiz
  • Bob Callaway
  • Carlos Tadeu Panato Junior
  • Colleen Murphy
  • Dmitry Savintsev
  • Emmanuel Ferdman
  • Hayden B
  • Ville Skyttä

v2.5.0

Compare Source

v2.5.0 includes an implementation of the new bundle specification,
attesting and verifying OCI image attestations uploaded as OCI artifacts.
This feature is currently gated behind the --new-bundle-format flag
when running cosign attest.

Features

  • Add support for new bundle specification for attesting/verifying OCI image attestations (#​3889)
  • Feat/non filename completions (#​4115)
  • Add TSA certificate related flags and fields for cosign attest (#​4079)

Fixes

  • cmd/cosign/cli: fix typo in ignoreTLogMessage (#​4111)
  • Fix replace with compliant image mediatype (#​4077)

Contributors

  • Bob Callaway
  • Carlos Tadeu Panato Junior
  • Cody Soyland
  • Dmitry Savintsev
  • Hayden B
  • Ramon Petgrave
  • Riccardo Schirone
  • Stef Graces
  • Ville Skyttä

v2.4.3

Compare Source

Features

  • Bump sigstore/sigstore to support KMS plugins (#​4073)
  • Enable fetching signatures without remote get. (#​4047)
  • Feat/file flag completion improvements (#​4028)
  • Update builder to use go1.23.6 (#​4052)

Bug Fixes

  • fix parsing error in --only for cosign copy (#​4049)

Cleanup

  • Refactor verifyNewBundle into library function (#​4013)
  • fix comment typo and imports order (#​4061)
  • sync comment with parameter name in function signature (#​4063)
  • sort properly Go imports (#​4071)

Contributors

  • Bob Callaway
  • Carlos Tadeu Panato Junior
  • Cody Soyland
  • Dmitry Savintsev
  • Hayden B
  • Tomasz Janiszewski
  • Ville Skyttä

v2.4.2

Compare Source

Features

  • Updated open-policy-agent to 1.1.0 library (#​4036)
    • Note that only Rego v0 policies are supported at this time
  • Add UseSignedTimestamps to CheckOpts, refactor TSA options (#​4006)
  • Add support for verifying root checksum in cosign initialize (#​3953)
  • Detect if user supplied a valid protobuf bundle (#​3931)
  • Add a log message if user doesn't provide --trusted-root (#​3933)
  • Support mTLS towards container registry (#​3922)
  • Add bundle create helper command (#​3901)
  • Add trusted-root create helper command (#​3876)

Bug Fixes

  • fix: set tls config while retaining other fields from default http transport (#​4007)
  • policy fuzzer: ignore known panics (#​3993)
  • Fix for multiple WithRemote options (#​3982)
  • Add nightly conformance test workflow (#​3979)
  • Fix copy --only for signatures + update/align docs (#​3904)

Documentation

  • Remove usage.md from spec, point to client spec (#​3918)
  • move reference from gcr to ghcr (#​3897)

Contributors

  • AdamKorcz
  • Aditya Sirish
  • Bob Callaway
  • Carlos Tadeu Panato Junior
  • Cody Soyland
  • Colleen Murphy
  • Hayden B
  • Jussi Kukkonen
  • Marco Franssen
  • Nianyu Shen
  • Slavek Kabrda
  • Søren Juul
  • Warren Hodgkinson
  • Zach Steindler

v2.4.1

Compare Source

v2.4.1 largely contains bug fixes and updates dependencies.

Features

  • Added fuzzing coverage to multiple packages

Bug Fixes

  • Fix bug in attest-blob when using a timestamp authority with new bundles (#​3877)
  • fix: documentation link for installation guide (#​3884)

Contributors

  • AdamKorcz
  • Bob Callaway
  • Carlos Tadeu Panato Junior
  • Hayden B
  • Hemil K
  • Sota Sugiura
  • Zach Steindler

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 6, 2024 19:03
@renovate
Copy link
Contributor Author

renovate bot commented Oct 6, 2024

ℹ 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):

  • 61 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.7 -> 1.24.1
github.com/google/go-containerregistry v0.20.2 -> v0.20.3
github.com/sigstore/sigstore v1.8.11 -> v1.8.15
golang.org/x/sync v0.10.0 -> v0.11.0
cloud.google.com/go/compute/metadata v0.5.0 -> v0.6.0
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 -> v1.17.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 -> v1.8.1
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 -> v0.0.0-20250102033503-faa5f7b0171c
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 -> v1.3.2
github.com/aws/aws-sdk-go-v2 v1.30.5 -> v1.36.1
github.com/aws/aws-sdk-go-v2/config v1.27.33 -> v1.29.6
github.com/aws/aws-sdk-go-v2/credentials v1.17.32 -> v1.17.59
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.13 -> v1.16.28
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.17 -> v1.3.32
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17 -> v2.6.32
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 -> v1.8.2
github.com/aws/aws-sdk-go-v2/service/ecr v1.33.0 -> v1.40.3
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.25.6 -> v1.31.2
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 -> v1.12.2
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.19 -> v1.12.13
github.com/aws/aws-sdk-go-v2/service/sso v1.22.7 -> v1.24.15
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.7 -> v1.28.14
github.com/aws/aws-sdk-go-v2/service/sts v1.30.7 -> v1.33.14
github.com/aws/smithy-go v1.20.4 -> v1.22.2
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20240909191326-0ee4ec5d16bf -> v0.9.1
github.com/containerd/stargz-snapshotter/estargz v0.15.1 -> v0.16.3
github.com/coreos/go-oidc/v3 v3.11.0 -> v3.12.0
github.com/docker/docker v27.2.1+incompatible -> v27.5.0+incompatible
github.com/fsnotify/fsnotify v1.7.0 -> v1.8.0
github.com/golang-jwt/jwt/v4 v4.5.0 -> v4.5.1
github.com/google/certificate-transparency-go v1.2.1 -> v1.3.1
github.com/klauspost/compress v1.17.9 -> v1.17.11
github.com/magiconair/properties v1.8.7 -> v1.8.9
github.com/mitchellh/mapstructure v1.5.0 -> v1.5.1-0.20231216201459-8508981c8b6c
github.com/moby/term v0.5.0 -> v0.5.2
github.com/prometheus/client_golang v1.20.3 -> v1.20.5
github.com/prometheus/common v0.59.1 -> v0.62.0
github.com/secure-systems-lab/go-securesystemslib v0.8.0 -> v0.9.0
github.com/sigstore/fulcio v1.6.4 -> v1.6.6
github.com/sigstore/protobuf-specs v0.3.2 -> v0.4.0
github.com/sigstore/rekor v1.3.6 -> v1.3.9
github.com/sigstore/timestamp-authority v1.2.2 -> v1.2.4
github.com/spf13/cobra v1.8.1 -> v1.9.1
github.com/vbatts/tar-split v0.11.5 -> v0.11.6
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 -> v0.59.0
go.opentelemetry.io/otel v1.30.0 -> v1.34.0
go.opentelemetry.io/otel/metric v1.30.0 -> v1.34.0
go.opentelemetry.io/otel/trace v1.30.0 -> v1.34.0
golang.org/x/crypto v0.31.0 -> v0.33.0
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 -> v0.0.0-20241108190413-2d47ceb2692f
golang.org/x/mod v0.21.0 -> v0.22.0
golang.org/x/net v0.33.0 -> v0.35.0
golang.org/x/oauth2 v0.24.0 -> v0.26.0
golang.org/x/sys v0.28.0 -> v0.30.0
golang.org/x/term v0.27.0 -> v0.29.0
golang.org/x/text v0.21.0 -> v0.22.0
golang.org/x/time v0.6.0 -> v0.10.0
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 -> v0.0.0-20250115164207-1a7da9e5054f
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 -> v0.0.0-20250207221924-e9438ea467c6
google.golang.org/grpc v1.66.1 -> v1.70.0
google.golang.org/protobuf v1.36.1 -> v1.36.5
sigs.k8s.io/release-utils v0.8.4 -> v0.11.0

@github-actions github-actions bot added the size/M label Oct 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch 12 times, most recently from 38ac7b9 to 3e015f3 Compare October 13, 2024 01:56
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch 5 times, most recently from 8621a84 to 1d2e9b3 Compare October 18, 2024 21:36
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch 7 times, most recently from 8e6d71c to 5e64b10 Compare October 27, 2024 10:04
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from 5e64b10 to 58e830f Compare November 1, 2024 01:36
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch 5 times, most recently from f77ddad to 79b6b84 Compare March 13, 2025 05:27
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from 79b6b84 to bc09b70 Compare April 10, 2025 22:43
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.4.3 chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.0 Apr 10, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Apr 10, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: module github.com/sigstore/cosign/v2@v2.6.1 requires go >= 1.24.6; switching to go1.24.11
go: downloading go1.24.11 (linux/amd64)
go: download go1.24.11: golang.org/toolchain@v0.0.1-go1.24.11.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@github-actions github-actions bot added size/XS and removed size/XL labels Apr 10, 2025
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from bc09b70 to 2af5064 Compare May 8, 2025 08:16
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch 8 times, most recently from db42fe8 to 55ffa87 Compare June 13, 2025 02:58
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from 55ffa87 to 607ee21 Compare June 19, 2025 19:08
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.0 chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.1 Jun 19, 2025
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from 607ee21 to 9134886 Compare June 20, 2025 21:25
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.1 chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.2 Jun 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from 9134886 to b5118fd Compare July 20, 2025 21:39
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.2 chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.3 Jul 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from b5118fd to d0d1703 Compare September 16, 2025 06:00
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.5.3 chore(deps): update module github.com/sigstore/cosign/v2 to v2.6.0 Sep 16, 2025
@renovate renovate bot force-pushed the renovate/github.com-sigstore-cosign-v2-2.x branch from d0d1703 to 7dd6a3c Compare October 2, 2025 22:36
@renovate renovate bot changed the title chore(deps): update module github.com/sigstore/cosign/v2 to v2.6.0 chore(deps): update module github.com/sigstore/cosign/v2 to v2.6.1 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant