Skip to content
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

TUF: Add error message when local cache's TUF metadata is expired #1296

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Jan 11, 2022

Signed-off-by: Asra Ali asraa@google.com

Summary

Adds a better error handling and comment for #1293

I don't think there's a way yet to store state of your remote repository's location (in go-tuf client there isn't), so the best you can do is detect that youre trying to use a different repo than the default remote repo and to warn to check your cache

Ticket Link

Fixes

Release Note


Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
@dlorenc dlorenc merged commit aa0b8c1 into sigstore:main Jan 12, 2022
@github-actions github-actions bot added this to the v1.5.0 milestone Jan 12, 2022
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants