From 26c99d85ace8f586c076f25a2405b5827f29de65 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 6 Dec 2021 22:06:29 -0300 Subject: [PATCH] fix: --output-certificate not working properly (#1149) Signed-off-by: Carlos A Becker --- cmd/cosign/cli/sign/sign_blob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cosign/cli/sign/sign_blob.go b/cmd/cosign/cli/sign/sign_blob.go index bfb00b4ed01..341f89bce21 100644 --- a/cmd/cosign/cli/sign/sign_blob.go +++ b/cmd/cosign/cli/sign/sign_blob.go @@ -83,7 +83,7 @@ func SignBlobCmd(ctx context.Context, ko KeyOpts, regOpts options.RegistryOption } if options.EnableExperimental() { - rekorBytes, err := sv.Bytes(ctx) + rekorBytes, err = sv.Bytes(ctx) if err != nil { return nil, err }