-
Notifications
You must be signed in to change notification settings - Fork 556
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
GHSA-66x3-6cw3-v5gj: Update go-tuf to v0.3.0 #1894
Conversation
1382f32
to
4dc866f
Compare
Cc @asraa and @haydentherapper |
I think this should be handled by @dependabot |
Signed-off-by: Tomasz Janiszewski <janiszt@gmail.com>
@@ -425,7 +425,7 @@ func embeddedLocalStore() (client.LocalStore, error) { | |||
func (t *TUF) updateMetadataAndDownloadTargets() error { | |||
// Download updated targets and cache new metadata and targets in ${TUF_ROOT}. | |||
targetFiles, err := t.client.Update() | |||
if err != nil && !client.IsLatestSnapshot(err) { | |||
if err != nil { |
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.
Why was this removed?
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.
It's obsolete -- TUF used to error out if the update fetched a snapshot with the same version, and that was removed.
See change in /~https://github.com/theupdateframework/go-tuf/pull/143/files when go-tuf updated to follow the spec for client updates
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.
SG
Looks like some e2e tests failed
Update go-tuf
There is one security update GHSA-66x3-6cw3-v5gj!
/~https://github.com/theupdateframework/go-tuf/releases/tag/v0.3.0