Documentation
¶
Index ¶
- func AssembleNewBundle(ctx context.Context, sigBytes, signedTimestamp []byte, envelope *dsse.Envelope, ...) (*sgbundle.Bundle, error)
- func PrintVerification(ctx context.Context, verified []oci.Signature, output string)
- func PrintVerificationHeader(ctx context.Context, imgRef string, co *cosign.CheckOpts, ...)
- type VerifyAttestationCommand
- type VerifyBlobAttestationCommand
- type VerifyBlobCmd
- type VerifyCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssembleNewBundle ¶ added in v2.4.2
func PrintVerification ¶
PrintVerification logs details about the verification to stdout
Types ¶
type VerifyAttestationCommand ¶
type VerifyAttestationCommand struct {
options.RegistryOptions
options.CertVerifyOptions
options.CommonVerifyOptions
CheckClaims bool
KeyRef string
CertRef string
CertGithubWorkflowTrigger string
CertGithubWorkflowSha string
CertGithubWorkflowName string
CertGithubWorkflowRepository string
CertGithubWorkflowRef string
CAIntermediates string
CARoots string
CertChain string
IgnoreSCT bool
SCTRef string
Sk bool
Slot string
Output string
RekorURL string
PredicateType string
Policies []string
LocalImage bool
NameOptions []name.Option
Offline bool
TSACertChainPath string
IgnoreTlog bool
MaxWorkers int
UseSignedTimestamps bool
HashAlgorithm crypto.Hash
}
VerifyAttestationCommand verifies a signature on a supplied container image nolint
type VerifyBlobAttestationCommand ¶
type VerifyBlobAttestationCommand struct {
options.KeyOpts
options.CertVerifyOptions
CertRef string
CertChain string
CAIntermediates string
CARoots string
TrustedRootPath string
CertGithubWorkflowTrigger string
CertGithubWorkflowSHA string
CertGithubWorkflowName string
CertGithubWorkflowRepository string
CertGithubWorkflowRef string
IgnoreSCT bool
SCTRef string
Offline bool
IgnoreTlog bool
CheckClaims bool
PredicateType string
SignaturePath string // Path to the signature
UseSignedTimestamps bool
Digest string
DigestAlg string
HashAlgorithm crypto.Hash
}
VerifyBlobAttestationCommand verifies an attestation on a supplied blob nolint
type VerifyBlobCmd ¶
type VerifyBlobCmd struct {
options.KeyOpts
options.CertVerifyOptions
CertRef string
CAIntermediates string
CARoots string
CertChain string
SigRef string
TrustedRootPath string
CertGithubWorkflowTrigger string
CertGithubWorkflowSHA string
CertGithubWorkflowName string
CertGithubWorkflowRepository string
CertGithubWorkflowRef string
IgnoreSCT bool
SCTRef string
Offline bool
UseSignedTimestamps bool
IgnoreTlog bool
HashAlgorithm crypto.Hash
}
nolint
type VerifyCommand ¶
type VerifyCommand struct {
options.RegistryOptions
options.CertVerifyOptions
options.CommonVerifyOptions
CheckClaims bool
KeyRef string
CertRef string
CertGithubWorkflowTrigger string
CertGithubWorkflowSha string
CertGithubWorkflowName string
CertGithubWorkflowRepository string
CertGithubWorkflowRef string
CAIntermediates string
CARoots string
CertChain string
CertOidcProvider string
IgnoreSCT bool
SCTRef string
Sk bool
Slot string
Output string
RekorURL string
Attachment string
Annotations sigs.AnnotationsMap
SignatureRef string
PayloadRef string
HashAlgorithm crypto.Hash
LocalImage bool
NameOptions []name.Option
Offline bool
TSACertChainPath string
UseSignedTimestamps bool
IgnoreTlog bool
MaxWorkers int
ExperimentalOCI11 bool
NewBundleFormat bool
}
VerifyCommand verifies a signature on a supplied container image nolint
Click to show internal directories.
Click to hide internal directories.