From 7a21aa1469fd36f8b669bcb749f077e5579a5b38 Mon Sep 17 00:00:00 2001 From: asraa Date: Fri, 12 Aug 2022 19:21:10 -0500 Subject: [PATCH] fix: fix blob verification output (#2157) Signed-off-by: Asra Ali oops Signed-off-by: Asra Ali Signed-off-by: Asra Ali --- cmd/cosign/cli/verify/verify_blob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cosign/cli/verify/verify_blob.go b/cmd/cosign/cli/verify/verify_blob.go index cb4879f7acf3..4754072c325a 100644 --- a/cmd/cosign/cli/verify/verify_blob.go +++ b/cmd/cosign/cli/verify/verify_blob.go @@ -362,7 +362,7 @@ func verifyRekorEntry(ctx context.Context, ko options.KeyOpts, e *models.LogEntr return err } - fmt.Fprintf(os.Stderr, "tlog entry verified with uuid: %s index: %d\n", hex.EncodeToString(uuid), *e.Verification.InclusionProof.LogIndex) + fmt.Fprintf(os.Stderr, "tlog entry verified with uuid: %s index: %d\n", hex.EncodeToString(uuid), *e.LogIndex) if cert == nil { return nil }