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

Bug: scorecard-action is failing consistently starting with 2.0.0 #900

Closed
godofredoc opened this issue Sep 10, 2022 · 2 comments · Fixed by flutter/packages#2595
Closed
Assignees

Comments

@godofredoc
Copy link

Updating to 2.0.2 didn't fix the issue.

Generating ephemeral keys...
Retrieving signed certificate...

    Note that there may be personally identifiable information associated with this signed artifact.
    This may include the email address associated with the account with which you authenticate.
    This information will be used for signing this artifact and will be stored in public transparency logs and cannot be removed later.

Non-interactive mode detected, using device flow.
Enter the verification code CFFR-RKTZ in your browser at: https://oauth2.sigstore.dev/auth/device?user_code=CFFR-RKTZ
Code will be valid for 300 seconds
2022/09/09 15:45:40 error signing scorecard json results: error signing payload: getting key from Fulcio: retrieving cert: error obtaining token: expired_token

@azeemshaikh38
Copy link
Contributor

Looking into it. v2.0.3 fixed it for other repos which were noticing similar errors, trying to debug why this did not fix it for Flutter

@godofredoc
Copy link
Author

Thank you @azeemshaikh38 for the fix.

For context if anybody is hitting this issue you may be missing the id-token permission as in here: https://github.com/flutter/flutter/blob/master/.github/workflows/scorecards-analysis.yml#L22

OrKoN added a commit to puppeteer/replay that referenced this issue Sep 16, 2022
jrandolf pushed a commit to puppeteer/replay that referenced this issue Sep 16, 2022
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 a pull request may close this issue.

2 participants