Skip to content

Commit

Permalink
Clarify how to install sget (sigstore#882)
Browse files Browse the repository at this point in the history
Currently, sget is name dropped without install explanations :)

Also mention requirement for container registry and mention ttl.sh, a free OCI registry which requires no account, that can be used to easily test cosign.

Signed-off-by: axel simon <[email protected]>

Co-authored-by: axel simon <[email protected]>
  • Loading branch information
2 people authored and developer-guy committed Oct 14, 2021
1 parent 42d4ce7 commit eb42770
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ See the [Usage documentation](USAGE.md) for more commands!

See the [FUN.md](FUN.md) documentation for some fun tips and tricks!

NOTE: you will need access to a container registry for cosign to work with.
[ttl.sh](https://ttl.sh) offers free, short-lived (ie: hours), anonymous container image
hosting if you just want to try these commands out.

### Generate a keypair

```shell
Expand Down Expand Up @@ -225,8 +229,15 @@ cosign sign --key cosign.key gcr.io/dlorenc-vmtest2/artifact
Enter password for private key:
Pushing signature to: gcr.io/dlorenc-vmtest2/artifact:sha256-3f612a4520b2c245d620d0cca029f1173f6bea76819dde8543f5b799ea3c696c.sig
```
#### sget

We also include the `sget` command for safer, automatic verification of signatures and integration with our binary transparency log, Rekor.

To install `sget`, if you have Go 1.16+, you can directly run:

$ go install github.com/sigstore/cosign/cmd/sget@latest

And we also include the `sget` command for safer, automatic verification of signatures and integration with our binary transparency log, Rekor:
and the resulting binary will be placed at `$GOPATH/bin/sget` (or `$GOBIN/sget`, if set).

Just like `curl`, `sget` can be used to fetch artifacts by digest using the OCI URL.
Digest verification is automatic:
Expand Down

0 comments on commit eb42770

Please sign in to comment.