sigstore/cosign ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go command line tool for signing and verifying container images and other artifacts with Sigstore style workflows.

I want it to support the common flows from the README, like keyless signing through an OIDC login, signing with a key pair or KMS, storing signatures in an OCI registry, and verifying an image by checking the expected identity and issuer or a public key. It should also be able to work offline with a bundle or trusted root file when possible.

Make the experience feel like a real cosign style CLI, with clear subcommands, helpful prompts, and readable output. If you need to look up current docs online while wiring up the signing and verification pieces, do that.

Please also include sensible tests, and keep the code organized so it would be easy to extend later for more artifact types and release tooling.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab