-
Notifications
You must be signed in to change notification settings - Fork 677
Updated v1 to support latest version of go-tuf #3597
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
Updated v1 to support latest version of go-tuf #3597
Conversation
Signed-off-by: cpanato <[email protected]> Signed-off-by: cpanato <[email protected]>
* Merge pull request from GHSA-vfp6-jrw2-99g9 * Add limit to number of sigs and attestations Signed-off-by: AdamKorcz <[email protected]> * Update pkg/cosign/fetch.go Co-authored-by: Cody Soyland <[email protected]> Signed-off-by: AdamKorcz <[email protected]> * Update error message Signed-off-by: Hayden B <[email protected]> * fix compilation error Signed-off-by: Hayden Blauzvern <[email protected]> * Add e2e tests Signed-off-by: Hayden Blauzvern <[email protected]> --------- Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: Hayden B <[email protected]> Signed-off-by: Hayden Blauzvern <[email protected]> Co-authored-by: Cody Soyland <[email protected]> Co-authored-by: Hayden B <[email protected]> * fix missing import Signed-off-by: cpanato <[email protected]> * bump golang to 1.19.13 Signed-off-by: cpanato <[email protected]> * update tests Signed-off-by: cpanato <[email protected]> * refactor validate release Signed-off-by: cpanato <[email protected]> * pin sigstore/scaffolding/actions/setup to v0.4.13 Signed-off-by: cpanato <[email protected]> * update ko-local Signed-off-by: cpanato <[email protected]> --------- Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: Hayden B <[email protected]> Signed-off-by: Hayden Blauzvern <[email protected]> Signed-off-by: cpanato <[email protected]> Co-authored-by: AdamKorcz <[email protected]> Co-authored-by: Cody Soyland <[email protected]> Co-authored-by: Hayden B <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 1.0-fork #3597 +/- ##
============================================
- Coverage 30.16% 29.75% -0.42%
============================================
Files 136 137 +1
Lines 8436 8553 +117
============================================
Hits 2545 2545
- Misses 5561 5678 +117
Partials 330 330 ☔ View full report in Codecov by Sentry. |
|
|
||
| test: | ||
| go test $(shell go list ./... | grep -v third_party/) | ||
| GODEBUG=x509sha1=1 go test $(shell go list ./... | grep -v third_party/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed as some test certs are using SHA-1.
|
I'm not super familiar with cosign (like what v1 is) but does this mean upgrading cosign to use the go-tuf rewrite? EDIT: I suppose 0.7 is the release before the rewrite? |
Correct! This is the last version that is API compatible. |
|
LGTM, just need to rebase off release-1.13 and merge into that branch instead, which should hopefully resolve test failures. |
Signed-off-by: Fredrik Skogman <[email protected]>
Signed-off-by: Fredrik Skogman <[email protected]>
swap out deprecated lib Signed-off-by: Bob Callaway <[email protected]>
swap out deprecated lib Signed-off-by: Bob Callaway <[email protected]>
fix gofmt issue Signed-off-by: Bob Callaway <[email protected]>
go mod tidy Signed-off-by: Bob Callaway <[email protected]>
free up space ahead of running goreleaser Signed-off-by: Bob Callaway <[email protected]>
fbe758d to
be9bf89
Compare
|
Rebased on |
Summary
Per the latest TUF updates in Sigstore Public Good instance, the key type is changing for the TUF keys, to keep cosign v1 continue to work I've updated to the latest go-tuf version.
Release Note
Documentation
N/A