Interview Prep/DevSecOps/Supply chain: signing, SBOM and dependencies

Cosign signing in CI fails intermittently with `error signing ... Post "https://rekor.sigstore.dev/api/v1/log/entries": context deadline exceeded`

IntermediateTroubleshootingSupply chain: signing, SBOM and dependencies
Answer

Likely causes → Network egress restrictions, proxy without TLS interception exemption, or a public-good Sigstore outage.

Diagnose →

curl -sv https://rekor.sigstore.dev/api/v1/log | head
echo $HTTPS_PROXY

Fix → Allow egress to fulcio.sigstore.dev, rekor.sigstore.dev, tuf-repo-cdn.sigstore.dev, retry with backoff, and set COSIGN_TIMEOUT/--timeout.

Prevent → For strict networks, run a private Sigstore (Fulcio + Rekor) or use KMS keys; monitor status.sigstore.dev.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply chain: signing, SBOM and dependencies