`cosign verify` fails: `no matching signatures: none of the expected identities matched`.
AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer
Likely causes → Certificate identity or issuer values differ from the actual workflow identity (branch, tag, workflow path).
Diagnose →
cosign verify IMAGE --certificate-identity-regexp '.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com | jq '.[0].optional'
Fix → Use the correct --certificate-identity (e.g. https://github.com/org/repo/.github/workflows/release.yml@refs/tags/v1.0.0) or a regexp.
Prevent → Standardise the signing workflow and its identity.
More on Secrets, Security and Pipeline Performance
A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.Advanced`gitleaks` finds a secret in an old commit, but the file is gone now.BeginnerTrivy scan fails the pipeline: `FATAL ... failed to download vulnerability DB ... TOOMANYREQUESTS`.IntermediateKyverno `verifyImages` blocks all deploys after rollout: `image verification failed`.AdvancedDependabot/Renovate PRs fail CI with unrelated errors.BeginnerOIDC to Azure/GCP fails: `AADSTS70021: No matching federated identity record found`.Intermediate