Description
Wire the bindings/go/sigstore handler and an OIDC credential plugin into the CLI.
Scope:
- Register
ComponentSignatureHandler in the CLI's signing handler registry
- Implement
SigstoreOIDC/v1alpha1 credential plugin in cli/internal/plugin/builtin/sigstore/:
- Checks
SIGSTORE_ID_TOKEN env var first (CI/automation path)
- Falls back to interactive browser-based OIDC flow
- Default issuer:
https://oauth2.sigstore.dev/auth, client ID: sigstore
- Wire plugin into
CredentialPluginProvider in cli/cmd/setup/
- Add
bindings/go/sigstore to cli/go.mod
Done Criteria
Description
Wire the
bindings/go/sigstorehandler and an OIDC credential plugin into the CLI.Scope:
ComponentSignatureHandlerin the CLI's signing handler registrySigstoreOIDC/v1alpha1credential plugin incli/internal/plugin/builtin/sigstore/:SIGSTORE_ID_TOKENenv var first (CI/automation path)https://oauth2.sigstore.dev/auth, client ID:sigstoreCredentialPluginProviderincli/cmd/setup/bindings/go/sigstoretocli/go.modDone Criteria
ocm sign componentversion --signer sigstoreworks for keyless and key-based credentialsocm verify componentversion --verifier sigstoreworks with and without explicit trusted root