Skip to content

Commit

Permalink
Nits for #2337 (#2342)
Browse files Browse the repository at this point in the history
* Nits for #2337

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>

* run docgen.

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
  • Loading branch information
vaikas authored Oct 14, 2022
1 parent 797033c commit a7ad7e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cmd/cosign/cli/options/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (o *VerifyBlobOptions) AddFlags(cmd *cobra.Command) {
"path to bundle FILE")
}

// VerifyBlobOptions is the top level wrapper for the `verify blob` command.
// VerifyDockerfileOptions is the top level wrapper for the `dockerfile verify` command.
type VerifyDockerfileOptions struct {
VerifyOptions
BaseImageOnly bool
Expand All @@ -155,7 +155,7 @@ func (o *VerifyDockerfileOptions) AddFlags(cmd *cobra.Command) {
"only verify the base image (the last FROM image in the Dockerfile)")
}

// VerifyBlobOptions is the top level wrapper for the `verify blob` command.
// VerifyBlobAttestationOptions is the top level wrapper for the `verify-blob-attestation` command.
type VerifyBlobAttestationOptions struct {
Key string
SignaturePath string
Expand Down
4 changes: 2 additions & 2 deletions cmd/cosign/cli/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ You may specify either a key or a kms reference to verify against.
The signature may be specified as a path to a file or a base64 encoded string.
The blob may be specified as a path to a file.`,
Example: ` cosign verify-blob-attestastion (--key <key path>|<key url>|<kms uri>) --signature <sig> [path to BLOB]
Example: ` cosign verify-blob-attestation (--key <key path>|<key url>|<kms uri>) --signature <sig> [path to BLOB]
# Verify a simple blob attestation with a DSSE style signature
cosign verify-blob-attestastion --key cosign.pub (--signature <sig path>|<sig url>)[path to BLOB]
cosign verify-blob-attestation --key cosign.pub (--signature <sig path>|<sig url>)[path to BLOB]
`,

Expand Down
4 changes: 2 additions & 2 deletions doc/cosign_verify-blob-attestation.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7ad7e7

Please sign in to comment.