Skip to content

Commit

Permalink
Fix the local verification using certificates docs. (#306)
Browse files Browse the repository at this point in the history
Verification using certificates requires also the
validation of the certificate's issuer and identity.

Signed-off-by: Daniel Haus <dhaus@redhat.com>
  • Loading branch information
dhaus67 committed May 1, 2024
1 parent eb46a7c commit af04701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/verifying/verify.md
Expand Up @@ -76,7 +76,7 @@ $ cosign verify --key cosign.pub --local-image PATH/to/user/demo
Verify image with local certificate and local certificate chain:

```shell
$ cosign verify --certificate cosign.crt --certificate-chain chain.crt user/demo
$ cosign verify --certificate cosign.crt --certificate-chain chain.crt --certificate-oidc-issuer https://issuer.example.com --certificate-identity foo@example.com user/demo

Check failure on line 79 in content/en/verifying/verify.md

View workflow job for this annotation

GitHub Actions / markdownlint

Dollar signs used before commands without showing output

content/en/verifying/verify.md:79:1 MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ cosign verify --certificate ..."] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md014.md
```

## Verify image with user-provided trusted chain

Check failure on line 82 in content/en/verifying/verify.md

View workflow job for this annotation

GitHub Actions / markdownlint

Headings should be surrounded by blank lines

content/en/verifying/verify.md:82 MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Verify image with user-provided trusted chain"] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md022.md
Expand Down

0 comments on commit af04701

Please sign in to comment.