Skip to content

Commit

Permalink
Fix piv-tool generate-key command in TOKENS doc
Browse files Browse the repository at this point in the history
[cosign/TOKENS\.md at main · sigstore/cosign](https://github.com/sigstore/cosign/blob/main/TOKENS.md) says:

... *run the* `cosign generate-key` *command* ...

Which yields this error:

```
$ cosign generate-key
Error: unknown command "generate-key" for "cosign"
```

The documentation is simply missing the `piv-tool` sub-command.

Resolves: sigstore#1849

Signed-off-by: Neal McBurnett <[email protected]>
  • Loading branch information
nealmcb committed May 6, 2022
1 parent 798904a commit 9aca005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TOKENS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We recommend using an application provided by your hardware vendor to manage key

### Setup

To get started, insert a key to your computer and run the `cosign generate-key` command.
To get started, insert a key to your computer and run the `cosign piv-tool generate-key` command.
We recommend using the `--random-management-key=true` flag.

This command generates a cryptographically-random management key and configures the device to use it.
Expand Down

0 comments on commit 9aca005

Please sign in to comment.