From 9aca0058a6eb1a9dd437b062119c8d291911af9b Mon Sep 17 00:00:00 2001 From: Neal McBurnett Date: Fri, 6 May 2022 09:21:00 -0600 Subject: [PATCH] Fix piv-tool generate-key command in TOKENS doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [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: #1849 Signed-off-by: Neal McBurnett --- TOKENS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOKENS.md b/TOKENS.md index 4cf907b1c3e5..d19208bda98b 100644 --- a/TOKENS.md +++ b/TOKENS.md @@ -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.