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

cosign doesn't provide an option to set timeout on rekor upload #990

Closed
naveensrinivasan opened this issue Nov 2, 2021 · 3 comments
Closed

Comments

@naveensrinivasan
Copy link
Contributor

I am trying to cosign sign-blob and run into a timeout issue

use /home/runner/work/scorecard/scorecard/dist/scorecard-linux-arm64: Post \"https://rekor.sigstore.dev/api/v1/log/entries\": context deadline exceeded\n": exit status 1|

After some investigation, it looks like the code doesn't provide an option

params := entries.NewCreateLogEntryParams()

but rekor has that option https://github.com/sigstore/rekor/blob/0c2b37c15bbaf80a1c32d47b63956c5d499a6f2c/pkg/generated/client/entries/create_log_entry_parameters.go#L51

func NewCreateLogEntryParamsWithTimeout(timeout time.Duration) *CreateLogEntryParams

@cpanato
Copy link
Member

cpanato commented Nov 3, 2021

this is something we face before, but I'm not sure if we fix it @lukehinds did you make a PR for this fix?

@naveensrinivasan
Copy link
Contributor Author

If not I am open to fixing this. We need in Scorecard. Thanks

@naveensrinivasan
Copy link
Contributor Author

Fixed by #1020

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

No branches or pull requests

2 participants