-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Rework sigstore tests #9005
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
Rework sigstore tests #9005
Conversation
The main change is previously we always instantiated a TUF client for the public good and GitHub Sigstore instances. Now we only instantiate the TUF client we need, or no client if we are provided a custom trusted root. Note that `gh attestation verify` still requires authentication, that is being addressed in #8995. Some other changes are coming along for the ride: - Set TUF cache validity to 1 day, to help serial verification - Attempt to infer verification policy based on custom trusted root - Make command output more friendly if you leave off required arguments Signed-off-by: Zach Steindler <steiza@github.com>
Signed-off-by: Zach Steindler <steiza@github.com>
Signed-off-by: Zach Steindler <steiza@github.com>
|
Commits were pulled into #8997 |
Angelface89
left a comment
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.
I didn't do these some one else has off my acct pls take the time and inspect all of the stuff made on this site as I didn't even have a guy hub until a few days ago I don't even know how to use it
| opts := &Options{} | ||
| downloadCmd := &cobra.Command{ | ||
| Use: "download [<file-path> | oci://<image-uri>] [--owner | --repo]", | ||
| Args: cmdutil.MinimumArgs(1, "must specify file path or container image URI, as well as one of --owner or --repo"), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| opts := &Options{} | ||
| downloadCmd := &cobra.Command{ | ||
| Use: "download [<file-path> | oci://<image-uri>] [--owner | --repo]", | ||
| Args: cmdutil.MinimumArgs(1, "must specify file path or container image URI, as well as one of --owner or --repo"), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| opts := &Options{} | ||
| downloadCmd := &cobra.Command{ | ||
| Use: "download [<file-path> | oci://<image-uri>] [--owner | --repo]", | ||
| Args: cmdutil.MinimumArgs(1, "must specify file path or container image URI, as well as one of --owner or --repo"), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Description
Placeholder PR.