forked from sigstore/cosign
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verify command: support keyless verification using only a provided ce…
…rtificate chain with non-fulcio roots (sigstore#2845) * Support keyless verification without Fulcio roots Fixes sigstore#2630 Signed-off-by: Nathan Smith <[email protected]> * add unit test for keyless verification Signed-off-by: Dmitry S <[email protected]> * fix minor typo in CHANGELOG.md Signed-off-by: Dmitry S <[email protected]> * update docs for cosign verify Signed-off-by: Dmitry S <[email protected]> * initial skeleton of unit test for keyless verification Signed-off-by: Dmitry S <[email protected]> --------- Signed-off-by: Nathan Smith <[email protected]> Signed-off-by: Dmitry S <[email protected]> Co-authored-by: Nathan Smith <[email protected]>
- Loading branch information
Showing
4 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,10 @@ against the transparency log.`, | |
# verify image with local certificate and certificate chain | ||
cosign verify --cert cosign.crt --cert-chain chain.crt <IMAGE> | ||
# verify image using keyless verification with the given certificate | ||
# chain and identity parameters, without Fulcio roots (for BYO PKI): | ||
cosign verify --cert-chain chain.crt --certificate-oidc-issuer https://issuer.example.com --certificate-identity [email protected] <IMAGE> | ||
# verify image with public key provided by URL | ||
cosign verify --key https://host.for/[FILE] <IMAGE> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.