You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(signing): explicitly fetch GitHub OIDC token for Sigstore
Sigstore-go does not automatically fetch GitHub OIDC tokens from
environment variables. This commit adds explicit token fetching logic
to resolve signing failures in GitHub Actions.
Changes:
- Add fetchGitHubOIDCToken() to fetch token from GitHub OIDC endpoint
- Update signProvenanceWithSigstore() to use fetched token explicitly
- Add comprehensive unit tests for token fetching with error scenarios
- Use context-aware HTTP requests with 30s timeout
Fixes signing failures where Sigstore expected an explicit IDToken
instead of auto-discovering from ACTIONS_ID_TOKEN_REQUEST_* env vars.
Co-authored-by: Ona <no-reply@ona.com>
0 commit comments