Share feedback
Answers are generated based on the documentation.

sbx kit verify

DescriptionVerify a kit artifact's signature
Usagesbx kit verify REFERENCE [flags]

Experimental

This command is experimental.

Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.

Description

Verify a kit artifact's cosign-compatible signature.

For a local directory, the kit.sig.bundle sidecar is checked against the kit's content. For a git reference, the repository is cloned and its committed kit.sig.bundle sidecar is checked the same way. For an OCI reference, signatures attached as OCI referrers are checked against the kit manifest.

Use --key to verify a key-based signature against a PEM public key. For keyless signatures, supply the accepted signer identity with --certificate-identity (or --certificate-identity-regexp) and --certificate-oidc-issuer (or --certificate-oidc-issuer-regexp).

Pass --insecure-ignore-tlog to verify a private keyless signature made with --tlog-upload=false: it drops the requirement for a Rekor transparency-log entry and relies on the timestamp-authority timestamp instead. It has no effect on key-based verification.

Options

OptionDefaultDescription
--certificate-identityExact keyless signer identity (certificate SAN)
--certificate-identity-regexpKeyless signer identity regexp (certificate SAN)
--certificate-oidc-issuerExact keyless OIDC issuer
--certificate-oidc-issuer-regexpKeyless OIDC issuer regexp
--insecure-ignore-tlogDo not require a Rekor transparency-log entry (for private keyless signatures)
--keyPublic key for key-based verification (PEM)

Global options

OptionDefaultDescription
-D, --debugEnable debug logging

Examples

# Verify a key-based signature
sbx kit verify --key cosign.pub ghcr.io/org/my-kit:1.0

# Verify a keyless signature by identity
sbx kit verify \
--certificate-identity user@example.com \
--certificate-oidc-issuer https://accounts.google.com \
./my-kit/