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

`cosign verify` fails with `error verifying bundle: ... tlog entry not found` in an air-gapped cluster

AdvancedTroubleshootingSupply chain: signing, SBOM and dependencies
Answer

Likely causes → Verification tries to fetch the Rekor inclusion proof online and the TUF root can't be refreshed.

Diagnose → Run with --verbose and look for outbound calls to Rekor/TUF.

Fix → Use offline verification with the bundle and a mirrored TUF root:

cosign verify --offline --trusted-root trusted_root.json ...

Or sign with your own key and --insecure-ignore-tlog=true only where an internal transparency log policy replaces it.

Prevent → Decide on transparency strategy (public vs private Rekor) before going air-gapped.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply chain: signing, SBOM and dependencies