-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove installable commands - Move `sigstore-go` CLI to `examples/sigstore-go-verification/` - Move `conformance` to `test/` - Update README and tooling accordingly Signed-off-by: Cody Soyland <codysoyland@github.com> * Add readmes for examples Signed-off-by: Cody Soyland <codysoyland@github.com> --------- Signed-off-by: Cody Soyland <codysoyland@github.com>
- Loading branch information
1 parent
077685d
commit 2e07b0b
Showing
10 changed files
with
51 additions
and
62 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
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# sigstore-go examples | ||
|
||
These examples show how to use the library. They are not intended to be fully- | ||
supported CLI tools, so stability is not guaranteed. | ||
|
||
- [sigstore-go-signing](./sigstore-go-signing): a CLI for signing artifacts | ||
- [sigstore-go-verification](./sigstore-go-verification/README.md): a CLI for verifying Sigstore bundles | ||
- [custom-certificate-validator](./custom-certificate-validator/README.md): a custom certificate validator | ||
- [oci-image-verification](./oci-image-verification): a CLI for verifying OCI images |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# sigstore-go-verification | ||
|
||
This is a CLI for verifying Sigstore bundles. View the help text with `-h` or `--help` for all the options. | ||
|
||
```shell | ||
$ go run . \ | ||
-artifact-digest 76176ffa33808b54602c7c35de5c6e9a4deb96066dba6533f50ac234f4f1f4c6b3527515dc17c06fbe2860030f410eee69ea20079bd3a2c6f3dcf3b329b10751 \ | ||
-artifact-digest-algorithm sha512 \ | ||
-expectedIssuer https://token.actions.githubusercontent.com \ | ||
-expectedSAN https://github.com/sigstore/sigstore-js/.github/workflows/release.yml@refs/heads/main \ | ||
../bundle-provenance.json | ||
Verification successful! | ||
{ | ||
"version": 20230823, | ||
"statement": { | ||
"_type": "https://in-toto.io/Statement/v0.1", | ||
"predicateType": "https://slsa.dev/provenance/v0.2", | ||
"subject": ... | ||
}, | ||
... | ||
} | ||
``` | ||
|
||
You can also specify a TUF root with something like `-tufRootURL tuf-repo-cdn.sigstore.dev`. | ||
|
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
File renamed without changes.