-
Notifications
You must be signed in to change notification settings - Fork 9
Update from upstream release v1.4.3 #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Bumps google.com/cloudsdktool/google-cloud-cli from 524.0.0-emulators to 525.0.0-emulators. --- updated-dependencies: - dependency-name: google.com/cloudsdktool/google-cloud-cli dependency-version: 525.0.0-emulators dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 3.28.18 to 3.28.19 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ff0a06e...fca7ace) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.28.19 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the all group in /hack/tools with 1 update: [github.com/go-swagger/go-swagger](https://github.com/go-swagger/go-swagger). Updates `github.com/go-swagger/go-swagger` from 0.31.0 to 0.32.3 - [Release notes](https://github.com/go-swagger/go-swagger/releases) - [Changelog](https://github.com/go-swagger/go-swagger/blob/master/.goreleaser.yml) - [Commits](go-swagger/go-swagger@v0.31.0...v0.32.3) --- updated-dependencies: - dependency-name: github.com/go-swagger/go-swagger dependency-version: 0.32.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the all group with 1 update: golang. Updates `golang` from 1.24.3 to 1.24.4 --- updated-dependencies: - dependency-name: golang dependency-version: 1.24.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.235.0 to 0.236.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.235.0...v0.236.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.236.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.9.0 to 9.10.0. - [Release notes](https://github.com/redis/go-redis/releases) - [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md) - [Commits](redis/go-redis@v9.9.0...v9.10.0) --- updated-dependencies: - dependency-name: github.com/redis/go-redis/v9 dependency-version: 9.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.40.0 to 0.41.0. - [Commits](golang/net@v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.72.2 to 1.73.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.72.2...v1.73.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-version: 1.73.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: cpanato <[email protected]>
Signed-off-by: Emmanuel Ferdman <[email protected]>
Bumps the all group with 7 updates: | Package | From | To | | --- | --- | --- | | [github.com/sigstore/sigstore](https://github.com/sigstore/sigstore) | `1.9.4` | `1.9.5` | | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | `1.9.2` | `1.9.3` | | [github.com/sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs) | `0.4.2` | `0.4.3` | | [github.com/sigstore/sigstore/pkg/signature/kms/aws](https://github.com/sigstore/sigstore) | `1.9.4` | `1.9.5` | | [github.com/sigstore/sigstore/pkg/signature/kms/azure](https://github.com/sigstore/sigstore) | `1.9.4` | `1.9.5` | | [github.com/sigstore/sigstore/pkg/signature/kms/gcp](https://github.com/sigstore/sigstore) | `1.9.4` | `1.9.5` | | [github.com/sigstore/sigstore/pkg/signature/kms/hashivault](https://github.com/sigstore/sigstore) | `1.9.4` | `1.9.5` | Updates `github.com/sigstore/sigstore` from 1.9.4 to 1.9.5 - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](sigstore/sigstore@v1.9.4...v1.9.5) Updates `github.com/go-sql-driver/mysql` from 1.9.2 to 1.9.3 - [Release notes](https://github.com/go-sql-driver/mysql/releases) - [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.9.3/CHANGELOG.md) - [Commits](go-sql-driver/mysql@v1.9.2...v1.9.3) Updates `github.com/sigstore/protobuf-specs` from 0.4.2 to 0.4.3 - [Release notes](https://github.com/sigstore/protobuf-specs/releases) - [Changelog](https://github.com/sigstore/protobuf-specs/blob/main/CHANGELOG.md) - [Commits](sigstore/protobuf-specs@v0.4.2...v0.4.3) Updates `github.com/sigstore/sigstore/pkg/signature/kms/aws` from 1.9.4 to 1.9.5 - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](sigstore/sigstore@v1.9.4...v1.9.5) Updates `github.com/sigstore/sigstore/pkg/signature/kms/azure` from 1.9.4 to 1.9.5 - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](sigstore/sigstore@v1.9.4...v1.9.5) Updates `github.com/sigstore/sigstore/pkg/signature/kms/gcp` from 1.9.4 to 1.9.5 - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](sigstore/sigstore@v1.9.4...v1.9.5) Updates `github.com/sigstore/sigstore/pkg/signature/kms/hashivault` from 1.9.4 to 1.9.5 - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](sigstore/sigstore@v1.9.4...v1.9.5) --- updated-dependencies: - dependency-name: github.com/sigstore/sigstore dependency-version: 1.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/go-sql-driver/mysql dependency-version: 1.9.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/sigstore/protobuf-specs dependency-version: 0.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/sigstore/sigstore/pkg/signature/kms/aws dependency-version: 1.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/sigstore/sigstore/pkg/signature/kms/azure dependency-version: 1.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/sigstore/sigstore/pkg/signature/kms/gcp dependency-version: 1.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/sigstore/sigstore/pkg/signature/kms/hashivault dependency-version: 1.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.236.0 to 0.237.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.236.0...v0.237.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.237.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 3.28.19 to 3.29.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@fca7ace...ce28f5b) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [go.step.sm/crypto](https://github.com/smallstep/crypto) from 0.66.0 to 0.67.0. - [Release notes](https://github.com/smallstep/crypto/releases) - [Commits](smallstep/crypto@v0.66.0...v0.67.0) --- updated-dependencies: - dependency-name: go.step.sm/crypto dependency-version: 0.67.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.237.0 to 0.238.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.237.0...v0.238.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.238.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps google.com/cloudsdktool/google-cloud-cli from 525.0.0-emulators to 527.0.0-emulators. --- updated-dependencies: - dependency-name: google.com/cloudsdktool/google-cloud-cli dependency-version: 527.0.0-emulators dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the all group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer). Updates `sigstore/cosign-installer` from 3.8.2 to 3.9.0 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@3454372...fb28c2b) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-version: 3.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps golang from `db5d0af` to `10c1318`. --- updated-dependencies: - dependency-name: golang dependency-version: 1.24.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Bob Callaway <[email protected]>
…igstore#2523) Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/go-viper/mapstructure/releases) - [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md) - [Commits](go-viper/mapstructure@v2.2.1...v2.3.0) --- updated-dependencies: - dependency-name: github.com/go-viper/mapstructure/v2 dependency-version: 2.3.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2526) Bumps sigstore/scaffolding/trillian_log_signer from `bfcc659` to `65ed187`. --- updated-dependencies: - dependency-name: sigstore/scaffolding/trillian_log_signer dependency-version: v1.7.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2527) Bumps sigstore/scaffolding/trillian_log_server from `ff64f73` to `2c677ca`. --- updated-dependencies: - dependency-name: sigstore/scaffolding/trillian_log_server dependency-version: v1.7.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the all group with 2 updates: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) and [github/codeql-action](https://github.com/github/codeql-action). Updates `sigstore/cosign-installer` from 3.9.0 to 3.9.1 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@fb28c2b...398d4b0) Updates `github/codeql-action` from 3.29.0 to 3.29.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ce28f5b...39edc49) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-version: 3.9.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github/codeql-action dependency-version: 3.29.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the all group with 2 updates: [cloud.google.com/go/profiler](https://github.com/googleapis/google-cloud-go) and [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp). Updates `cloud.google.com/go/profiler` from 0.4.2 to 0.4.3 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](googleapis/google-cloud-go@apps/v0.4.2...apps/v0.4.3) Updates `github.com/hashicorp/go-retryablehttp` from 0.7.7 to 0.7.8 - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.7...v0.7.8) --- updated-dependencies: - dependency-name: cloud.google.com/go/profiler dependency-version: 0.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/hashicorp/go-retryablehttp dependency-version: 0.7.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tore#2534) Bumps the all group with 1 update: golang. Updates `golang` from 1.24.4 to 1.24.5 --- updated-dependencies: - dependency-name: golang dependency-version: 1.24.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/go-viper/mapstructure/releases) - [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md) - [Commits](go-viper/mapstructure@v2.2.1...v2.3.0) --- updated-dependencies: - dependency-name: github.com/go-viper/mapstructure/v2 dependency-version: 2.3.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…diomatic (sigstore#2536) * move context handling to be request based and idiomatic Signed-off-by: Bob Callaway <[email protected]> * reuse var Signed-off-by: Bob Callaway <[email protected]> --------- Signed-off-by: Bob Callaway <[email protected]>
Bumps [github.com/sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs) from 0.4.3 to 0.5.0. - [Release notes](https://github.com/sigstore/protobuf-specs/releases) - [Changelog](https://github.com/sigstore/protobuf-specs/blob/main/CHANGELOG.md) - [Commits](sigstore/protobuf-specs@v0.4.3...v0.5.0) --- updated-dependencies: - dependency-name: github.com/sigstore/protobuf-specs dependency-version: 0.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
) Bumps the all group with 1 update: [github.com/spf13/pflag](https://github.com/spf13/pflag). Updates `github.com/spf13/pflag` from 1.0.6 to 1.0.7 - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](spf13/pflag@v1.0.6...v1.0.7) --- updated-dependencies: - dependency-name: github.com/spf13/pflag dependency-version: 1.0.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.15.0 to 0.16.0. - [Commits](golang/sync@v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-version: 0.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2660) Bumps google.com/cloudsdktool/google-cloud-cli from 544.0.0-emulators to 545.0.0-emulators. --- updated-dependencies: - dependency-name: google.com/cloudsdktool/google-cloud-cli dependency-version: 545.0.0-emulators dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Package is already imported from go-viper after owner change. Signed-off-by: Tonis Tiigi <[email protected]>
Signed-off-by: Tonis Tiigi <[email protected]>
Currently the uber/zap logger and go-chi middleware have leaked into the library packages in pkg/types imported by other projects. This adds internal dependency-free logger as default for these library packages. Any user of Zap or the Rekor CLI utilities can continue to use `pkg/log` to use and configure Zap without any changes. The internal logger is silent by default as suitable for libraries. Signed-off-by: Tonis Tiigi <[email protected]>
CLI config reading routines from Viper should not be included in spec definition types under pkg because - this creates unnecessarily huge dependency - it creates unexpected reconfiguration/attack method to applications importing the types. Instead, read viper config in Rekor CLI and pass to the types packages to reconfigure them. Default size limit remains unchanged. Signed-off-by: Tonis Tiigi <[email protected]>
E2E utilities should be only defined in test files and should not be mixed with the common function in pkg/util. Go modules/vendoring makes no filtering based on build tags and so all the dependencies needed for E2E become dependencies to any package that internally imports pkg/util. Signed-off-by: Tonis Tiigi <[email protected]>
…igstore#2666) Bumps [github.com/go-openapi/swag](https://github.com/go-openapi/swag) from 0.24.1 to 0.25.1. - [Commits](go-openapi/swag@v0.24.1...v0.25.1) --- updated-dependencies: - dependency-name: github.com/go-openapi/swag dependency-version: 0.25.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pkg/pki package defines both the interface types for PublicKey and Signature, linked to many external packages, and also all the implementations for pki via static factory map. This separates the types to separate package so the packages that use them can be included without a big dependency chain. The types are aliased to the old pkg/pki package so that this change wouldn't break any backwards compatibility. Signed-off-by: Tonis Tiigi <[email protected]>
…2676) Bumps google.com/cloudsdktool/google-cloud-cli from 545.0.0-emulators to 546.0.0-emulators. --- updated-dependencies: - dependency-name: google.com/cloudsdktool/google-cloud-cli dependency-version: 546.0.0-emulators dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 400-499 should be logged as warning at most
* The logged error should include the code: otherwise it's often a
cryptic string that does not really say if it's a client issue or no.
Example:
ERRROR: validation failure list: hash in body should match '^(sha512:)?[0-9a-fA-F]{128}$|^(sha256:)?[0-9a-fA-F]{64}$|^(sha1:)?[0-9a-fA-F]{40}$'
Signed-off-by: Jussi Kukkonen <[email protected]>
…tore#2675) Bumps the all group with 1 update: golang. Updates `golang` from 1.25.3 to 1.25.4 --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (sigstore#2661) Bumps [github.com/tink-crypto/tink-go/v2](https://github.com/tink-crypto/tink-go) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/tink-crypto/tink-go/releases) - [Commits](tink-crypto/tink-go@v2.4.0...v2.5.0) --- updated-dependencies: - dependency-name: github.com/tink-crypto/tink-go/v2 dependency-version: 2.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the all group with 7 updates: | Package | From | To | | --- | --- | --- | | [github.com/go-openapi/errors](https://github.com/go-openapi/errors) | `0.22.3` | `0.22.4` | | [github.com/go-openapi/loads](https://github.com/go-openapi/loads) | `0.23.1` | `0.23.2` | | [github.com/go-openapi/runtime](https://github.com/go-openapi/runtime) | `0.29.0` | `0.29.2` | | [github.com/go-openapi/spec](https://github.com/go-openapi/spec) | `0.22.0` | `0.22.1` | | [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt) | `0.24.0` | `0.25.0` | | [github.com/go-openapi/validate](https://github.com/go-openapi/validate) | `0.25.0` | `0.25.1` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.17.0` | `0.18.0` | Updates `github.com/go-openapi/errors` from 0.22.3 to 0.22.4 - [Commits](go-openapi/errors@v0.22.3...v0.22.4) Updates `github.com/go-openapi/loads` from 0.23.1 to 0.23.2 - [Commits](go-openapi/loads@v0.23.1...v0.23.2) Updates `github.com/go-openapi/runtime` from 0.29.0 to 0.29.2 - [Release notes](https://github.com/go-openapi/runtime/releases) - [Commits](go-openapi/runtime@v0.29.0...v0.29.2) Updates `github.com/go-openapi/spec` from 0.22.0 to 0.22.1 - [Commits](go-openapi/spec@v0.22.0...v0.22.1) Updates `github.com/go-openapi/strfmt` from 0.24.0 to 0.25.0 - [Commits](go-openapi/strfmt@v0.24.0...v0.25.0) Updates `github.com/go-openapi/validate` from 0.25.0 to 0.25.1 - [Commits](go-openapi/validate@v0.25.0...v0.25.1) Updates `golang.org/x/sync` from 0.17.0 to 0.18.0 - [Commits](golang/sync@v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: github.com/go-openapi/errors dependency-version: 0.22.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/go-openapi/loads dependency-version: 0.23.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/go-openapi/runtime dependency-version: 0.29.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/go-openapi/spec dependency-version: 0.22.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: github.com/go-openapi/strfmt dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all - dependency-name: github.com/go-openapi/validate dependency-version: 0.25.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: golang.org/x/sync dependency-version: 0.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 4.31.0 to 4.31.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@4e94bd1...0499de3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.31.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.28.0 to 0.29.0. - [Commits](golang/mod@v0.28.0...v0.29.0) --- updated-dependencies: - dependency-name: golang.org/x/mod dependency-version: 0.29.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [go.step.sm/crypto](https://github.com/smallstep/crypto) from 0.73.0 to 0.74.0. - [Release notes](https://github.com/smallstep/crypto/releases) - [Commits](smallstep/crypto@v0.73.0...v0.74.0) --- updated-dependencies: - dependency-name: go.step.sm/crypto dependency-version: 0.74.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2678) Bumps sigstore/scaffolding/trillian_log_server from `1cd5a59` to `26d7c5b`. --- updated-dependencies: - dependency-name: sigstore/scaffolding/trillian_log_server dependency-version: v1.7.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2677) Bumps sigstore/scaffolding/trillian_log_signer from `b2e4b5d` to `a2d7270`. --- updated-dependencies: - dependency-name: sigstore/scaffolding/trillian_log_signer dependency-version: v1.7.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2679) * (fix): gosec issues for integer overflow conversion Signed-off-by: Sachin Sampras M <[email protected]> * (fix): gosec issues for integer overflow conversion in trillian client Signed-off-by: Sachin Sampras M <[email protected]> * (fix): gosec high severity issues Signed-off-by: Sachin Sampras M <[email protected]> * (docs): add relevant comments Signed-off-by: Sachin Sampras M <[email protected]> * (docs): add nolint gosec comments Signed-off-by: Sachin Sampras M <[email protected]> * (docs): lint whitespace fix Signed-off-by: Sachin Sampras M <[email protected]> * (docs): added line wise no lint comments Signed-off-by: Sachin Sampras M <[email protected]> --------- Signed-off-by: Sachin Sampras M <[email protected]>
…igstore#2681) Signed-off-by: Bob Callaway <[email protected]>
Signed-off-by: Bob Callaway <[email protected]>
Signed-off-by: Hayden <[email protected]> Co-authored-by: Hayden <[email protected]>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
Signed-off-by: Sachin Sampras M <[email protected]>
Signed-off-by: Sachin Sampras M <[email protected]>
Signed-off-by: Sachin Sampras M <[email protected]>
User description
Summary
Sync with a major release.
Details of the changes made and the releases are present can be viewed here
Misc
Resolves https://issues.redhat.com/browse/SECURESIGN-3380
Unblocks and closes https://issues.redhat.com/browse/SECURESIGN-2162
PR Type
Enhancement, Bug fix
Description
Major dependency upgrade: Sync with Rekor upstream release v1.4.3, including significant architectural changes and API improvements
Swag package migration: Migrated from
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convfor pointer/value conversions across all entry types and testsTrillian client refactoring: Introduced
ClientManagerfor connection pooling and decoupled log ranges initialization from direct Trillian client dependencyAPI context handling: Refactored
TrillianClientto acceptcontext.Contextas parameter instead of storing it, improving context lifecycle managementEntry type optimizations: Added custom
DecodeEntry()functions for direct JSON unmarshaling without reflection, eliminating goroutine-based concurrent processing in favor of sequential operations across multiple entry types (Rekord, RPM, Alpine, Helm, DSSE, intoto, TUF, JAR, COSE)Standard library updates: Migrated from
golang.org/x/exp/slicesto standard libraryslicespackage; replacedhomedir.Dir()withos.UserHomeDir()Error handling modernization: Updated generated models to use
stderrors.As()for type assertions and changedinterface{}toanytype aliasRemoved deprecated features: Eliminated Redis-based stable checkpoint caching, witness functionality, and the
Stableparameter from GetLogInfo APICLI improvements: Updated CLI commands for proper context handling and command parameter passing
Test utilities refactoring: Reorganized test utilities into
e2eutilande2ex509packages with improved test coverageDiagram Walkthrough
File Walkthrough
3 files
tle_test.go
Update swag pointer conversion functions to conv packagepkg/tle/tle_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convswag.Int64()calls withconv.Pointer(int64())swag.String()calls withconv.Pointer()types.go
Update to use standard library slices packagepkg/types/types.go
golang.org/x/exp/slicesto standard librarysliceslogpackage importverify_test.go
Update swag pointer conversion API in verify testspkg/verify/verify_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convswag.Int64()andswag.String()calls withconv.Pointer()function
28 files
entries.go
Migrate to new swag/conv package and refactor Trillian client usagepkg/api/entries.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convtrillianclientpackagelogEntryFromLeaffunction signature to accept*sharding.LogRangesinstead ofsharding.LogRangesswag.String()andswag.Int64()calls withconv.Pointer()throughout the file
api.trillianClientManager.GetTrillianClient()instead of directconstructor
ed25519.PublicKeytype assertion from pointer to value typeretrieveUUIDFromTreeto returnresp.Errinstead of
erre2e_test.go
Refactor imports and update pointer conversion functionspkg/types/dsse/v0.0.1/e2e_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/conve2ex509ande2eutilpackages instead ofsigx509andutilswag.String()calls withconv.Pointer()e2eutilprefixe2ex509prefixt.Logf()calls tot.Log()for loggingtrillian_client.go
Refactor TrillianClient to pass context as parameterpkg/trillianclient/trillian_client.go
contextfield fromTrillianClientstructNewTrillianClientto privatenewTrillianClientand returnpointer type
context.Contextas parameterinstead of using stored context
GetLeavesByRangeandGetLeafWithoutProofmethods for fetchingleaves without proofs
getStandaloneLeafhelper method for efficient leaf retrievalGetLeavesByRangeResultfield toResponsestructCreateAndInitTreefunction (moved elsewhere)//nolint:goseccomments for type conversionsapi.go
Refactor API to use TrillianClientManager for connection handlingpkg/api/api.go
dialfunction for gRPC connection setuplogClientandtreeIDfields withtrillianClientManagerin APIstruct
logRangesfield type from value to pointercheckpointPublishCancelfield and related witnessfunctionality
NewAPIfunction to usetrillianclient.ClientManagerforconnection management
NewAPIparameter type fromuinttoint64ActiveTreeID()method to API structranges.CompleteInitialization()withclient manager
ConfigureAPIStopAPIto closetrillianClientManagerinstead of cancelingcheckpoint publisher
upload.go
Update CLI upload command for context handling and swag migrationcmd/rekor-cli/app/upload.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convuploadCmdRun function signature to accept*cobra.Commandparameter
context.Background()tocmd.Context()tryUploadfunction to accept context parameterswag.Int64Value()call withconv.Value()loadVerifiercall to pass context parameterCreateLogEntryParamsinstantiation to useWithContextvariantentry.go
Optimize Rekord v0.0.1 entry processing and update swag APIpkg/types/rekord/v0.0.1/entry.go
DecodeEntry()function for direct JSON unmarshalingwithout reflection
fetchExternalEntities()to remove goroutine-basedconcurrent processing and use sequential operations
swagpackage calls withconv.Pointer()andconv.Value()fromnew API
govalidatorandgolang.org/x/sync/errgroupregex validation
entry.go
Optimize RPM v0.0.1 entry processing and update swag APIpkg/types/rpm/v0.0.1/entry.go
DecodeEntry()function for efficient direct unmarshalingfetchExternalEntities()to use sequential buffer operationsinstead of goroutines
swagpackage calls withconv.Pointer()andconv.Value()govalidatorandgolang.org/x/sync/errgroupdependenciesentry.go
Optimize Alpine v0.0.1 entry processing and update swag APIpkg/types/alpine/v0.0.1/entry.go
DecodeEntry()function for optimized unmarshaling withbase64 decoding
fetchExternalEntities()to eliminate goroutines and usesequential processing
swagpackage calls withconv.Pointer()andconv.Value()govalidatorandgolang.org/x/sync/errgroupdependenciesentry.go
Refactor intoto v0.0.2 entry with optimized decoding and updateddependenciespkg/types/intoto/v0.0.2/entry.go
DecodeEntry()function for efficient direct unmarshalingwith base64 handling
golang.org/x/exp/sliceswith standard libraryslicespackagegithub.com/go-openapi/swag/convinstead ofswag(
pkg/internal/log,pkg/pki/pkitypes)maxAttestationSizeand setter functionswag.String()calls toconv.Pointer()entry.go
Optimize Helm v0.0.1 entry processing and update swag APIpkg/types/helm/v0.0.1/entry.go
DecodeEntry()function for optimized unmarshaling withbase64 decoding
fetchExternalEntities()to eliminate goroutines and usesequential processing
swagpackage calls withconv.Pointer()golang.org/x/sync/errgroupdependencyentry.go
Refactor DSSE v0.0.1 entry with optimized decoding and updateddependenciespkg/types/dsse/v0.0.1/entry.go
DecodeEntry()function for efficient unmarshaling withbase64 handling
github.com/go-openapi/swag/convinstead ofswag(
pkg/internal/log,pkg/pki/pkitypes)swag.String()calls withconv.Pointer()Verifiers()return type from[]pki.PublicKeyto[]pkitypes.PublicKeyentry.go
Refactor entry decoding and attestation size handlingpkg/types/intoto/v0.0.1/entry.go
swagpackage calls withswag/convfor pointer/valueconversions
DecodeEntryfunction for direct schema decoding withoutreflection
maxAttestationSizevariable with setter function to replaceviper config access
pki.PublicKeytopkitypes.PublicKeyviperimporttlog.go
Migrate to client manager and update API utilitiespkg/api/tlog.go
swag.StringValueandswag.BoolValuewithconv.Valuefromswag/convtrillianClientManagerinstead of direct clientcreation
ActiveTreeID()method and propervalidation
helm_v001_schema.go
Modernize error handling with stderrors.As patternpkg/generated/models/helm_v001_schema.go
stderrors.As()for error type checkinginterface{}toanytype aliasentry.go
Add custom decode entry and improve hash validationpkg/types/hashedrekord/v0.0.1/entry.go
DecodeEntryfunction for direct schema decoding with base64handling
swag.StringValuewithconv.Valueandswag.Stringwithconv.Pointergovalidatordependency and implemented custom hash validationby length
pki.PublicKeytopkitypes.PublicKeyranges.go
Decouple log ranges initialization from Trillian clientpkg/sharding/ranges.go
NewLogRangesto remove Trillian client dependency andreturn pointer
CompleteInitializationmethod to populate tree lengthsasynchronously
GRPCConfigfield toLogRangefor per-shard gRPCconfiguration
updateRangetoinitializeRangewith simplified logicstrconv.Atoitostrconv.ParseIntentry_test.go
Update test utilities to use conv.Pointerpkg/types/rekord/v0.0.1/entry_test.go
swag.Stringcalls withconv.Pointerthroughout test casesfunctions
intoto_v002_schema.go
Modernize error handling with stderrors.As patternpkg/generated/models/intoto_v002_schema.go
stderrors.As()for error type checkinginterface{}toanytype aliasmanager.go
Add Trillian client manager for connection poolingpkg/trillianclient/manager.go
ClientManagerfor managing Trillian clientconnections
configuration support
CreateAndInitTreefunction for tree initializationdialfunction with TLS configuration optionse2e_test.go
Refactor e2e test imports to use utility packagespkg/types/intoto/e2e_test.go
e2ex509ande2eutilpackages instead of directimports
e2eutilprefixe2ex509for cryptographic materialsentry.go
Add TUF decode entry and simplify entity fetchingpkg/types/tuf/v0.0.1/entry.go
DecodeEntryfunction for direct schema decoding withoutreflection
fetchExternalEntitiesby removing errgroup and pipe-basedconcurrency
swag.Stringwithconv.Pointerfor API version settinggolang.org/x/sync/errgroupimportentry.go
Add JAR decode entry and improve hash validationpkg/types/jar/v0.0.1/entry.go
DecodeEntryfunction for direct schema decoding with base64handling
swag.StringValuewithconv.Valueandswag.Stringwithconv.Pointergovalidatordependency and implemented custom hash validationby length
jar_v001_schema.go
Modernize error handling with stderrors.As patternpkg/generated/models/jar_v001_schema.go
stderrors.As()for error type checkinginterface{}toanytype aliasentry.go
Add COSE decode entry and attestation size handlingpkg/types/cose/v0.0.1/entry.go
DecodeEntryfunction for direct schema decoding with base64handling
maxAttestationSizevariable with setter function to replaceviper config
swag.Stringwithconv.Pointerfor API version settingviperimport for max attestation size configurationdsse_v001_schema.go
Modernize error handling with stderrors.As patternpkg/generated/models/dsse_v001_schema.go
stderrors.As()for error type checkinginterface{}toanytype aliasrekord_v001_schema.go
Modernize error handling with stderrors.As patternpkg/generated/models/rekord_v001_schema.go
stderrors.As()for error type checkinginterface{}toanytype aliasroot.go
Update dependencies and add attestation size initializationcmd/rekor-server/app/root.go
v5version with new pathhomedir.Dir()withos.UserHomeDir()enable_stable_checkpointflagwrap.go
Update format command wrapper signaturecmd/rekor-cli/app/format/wrap.go
formatCmdfunction signature to accept*cobra.Commandparameter
WrapCmdto pass command object to format function5 files
ranges_test.go
Refactor log ranges tests and remove Trillian client dependencypkg/sharding/ranges_test.go
errorsimportNewLogRangesfunction calls to removetrillian.TrillianLogClientparameterTestUpdateRangewith newTestInitializeRangetest functionTestCompleteInitialization_Scenariostest withmultiple test scenarios
setupMockServerfor mock server setupe2e_test.go
Update e2e tests with new swag API and improved test utilitiestests/e2e_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convtestTreeIDtype fromuinttoint64pkg/pki/x509/e2ex509trillianclientpackageswag.String()calls withconv.Pointer()trillianclient.TestDial()instead ofapi.TestDial()TestGetLogProofInvalidShard()for invalid shardhandling
t.Errorf(err.Error())tot.Error(err)entry_test.go
Update intoto v0.0.2 entry tests with new swag APIpkg/types/intoto/v0.0.2/entry_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convswag.String()calls withconv.Pointer()throughout testcases
e2e_test.go
Update e2e server tests with refactored utility importscmd/rekor-server/e2e_test.go
pkg/utiltopkg/util/e2eutile2eutilprefixt.Errorf(err.Error())tot.Error(err)entry_test.go
Update hashedrekord v0.0.1 entry tests with new swag APIpkg/types/hashedrekord/v0.0.1/entry_test.go
github.com/go-openapi/swagtogithub.com/go-openapi/swag/convswag.String()calls withconv.Pointer()in test casesconversion API
1 files
get_log_info_parameters.go
Remove deprecated Stable parameter from GetLogInfo APIpkg/generated/client/tlog/get_log_info_parameters.go
github.com/go-openapi/swagpackageStablefield fromGetLogInfoParamsstructStableparameter inSetDefaults()method101 files