Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify_blob: add missing help option to use the pub key from a remote #616

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/cosign/cli/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ EXAMPLES

# verify image with public key stored in Google Cloud KMS
cosign verify -key gcpkms://projects/[PROJECT]/locations/global/keyRings/[KEYRING]/cryptoKeys/[KEY] <IMAGE>

# verify image with public key stored in Hashicorp Vault
cosign verify -key hashivault://[KEY] <IMAGE>

Expand Down
3 changes: 3 additions & 0 deletions cmd/cosign/cli/verify_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ EXAMPLES
# Verify a signature from an environment variable
cosign verify-blob -key cosign.pub -signature $sig msg

# verify a signature with public key provided by URL
cosign verify-dockerfile -key https://host.for/<FILE> -signature $sig msg

# Verify a signature against a payload from another process using process redirection
cosign verify-blob -key cosign.pub -signature $sig <(git rev-parse HEAD)

Expand Down