-
Notifications
You must be signed in to change notification settings - Fork 557
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
Updated v1 to support latest version of go-tuf #3597
Conversation
Signed-off-by: cpanato <ctadeu@gmail.com> Signed-off-by: cpanato <ctadeu@gmail.com>
* Merge pull request from GHSA-vfp6-jrw2-99g9 * Add limit to number of sigs and attestations Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> * Update pkg/cosign/fetch.go Co-authored-by: Cody Soyland <codysoyland@gmail.com> Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> * Update error message Signed-off-by: Hayden B <hblauzvern@google.com> * fix compilation error Signed-off-by: Hayden Blauzvern <hblauzvern@google.com> * Add e2e tests Signed-off-by: Hayden Blauzvern <hblauzvern@google.com> --------- Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Signed-off-by: Hayden B <hblauzvern@google.com> Signed-off-by: Hayden Blauzvern <hblauzvern@google.com> Co-authored-by: Cody Soyland <codysoyland@gmail.com> Co-authored-by: Hayden B <hblauzvern@google.com> * fix missing import Signed-off-by: cpanato <ctadeu@gmail.com> * bump golang to 1.19.13 Signed-off-by: cpanato <ctadeu@gmail.com> * update tests Signed-off-by: cpanato <ctadeu@gmail.com> * refactor validate release Signed-off-by: cpanato <ctadeu@gmail.com> * pin sigstore/scaffolding/actions/setup to v0.4.13 Signed-off-by: cpanato <ctadeu@gmail.com> * update ko-local Signed-off-by: cpanato <ctadeu@gmail.com> --------- Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Signed-off-by: Hayden B <hblauzvern@google.com> Signed-off-by: Hayden Blauzvern <hblauzvern@google.com> Signed-off-by: cpanato <ctadeu@gmail.com> Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Co-authored-by: Cody Soyland <codysoyland@gmail.com> Co-authored-by: Hayden B <hblauzvern@google.com>
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. |
@@ -100,7 +100,7 @@ lint: golangci-lint ## Run golangci-lint linter | |||
$(GOLANGCI_LINT_BIN) run -n | |||
|
|||
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 <kommendorkapten@github.com>
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
swap out deprecated lib Signed-off-by: Bob Callaway <bobcallaway@users.noreply.github.com>
swap out deprecated lib Signed-off-by: Bob Callaway <bobcallaway@users.noreply.github.com>
fix gofmt issue Signed-off-by: Bob Callaway <bobcallaway@users.noreply.github.com>
go mod tidy Signed-off-by: Bob Callaway <bobcallaway@users.noreply.github.com>
free up space ahead of running goreleaser Signed-off-by: Bob Callaway <bobcallaway@users.noreply.github.com>
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