From 6a1e8fc5509ea9e1ce6a6a6ad9e6832cf08f7609 Mon Sep 17 00:00:00 2001 From: Mark Bestavros Date: Mon, 29 Mar 2021 19:37:55 -0400 Subject: [PATCH] Fix hard-mode verification step in FUN.md (#200) Signed-off-by: Mark Bestavros --- FUN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FUN.md b/FUN.md index cde03f519e8..dee0d81d529 100644 --- a/FUN.md +++ b/FUN.md @@ -51,7 +51,7 @@ Now find it from the log: ``` $ uuid=$(rekor-cli search --artifact <(git rev-parse HEAD) | tail -n 1) -$ sig=$(rekor-cli get --uuid=$uuid --format=json | jq -r .Body | base64 -D | jq -r .spec.signature.content) +$ sig=$(rekor-cli get --uuid=$uuid --format=json | jq -r .Body.RekordObj.signature.content) $ cosign verify-blob -key cosign.pub -signature <(echo $sig) <(git rev-parse HEAD) Verified OK ```