From 4020b77eb2610b6b833e9f71978bb35629df13b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Wed, 29 Sep 2021 22:45:18 +1300 Subject: [PATCH] Make --cert-email actually do something MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Félix Saparelli --- cmd/cosign/cli/verify/verify.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cosign/cli/verify/verify.go b/cmd/cosign/cli/verify/verify.go index 9401cda8268..510a7df81c0 100644 --- a/cmd/cosign/cli/verify/verify.go +++ b/cmd/cosign/cli/verify/verify.go @@ -136,6 +136,7 @@ func (c *VerifyCommand) Exec(ctx context.Context, args []string) (err error) { co := &cosign.CheckOpts{ Annotations: *c.Annotations, RegistryClientOpts: c.RegistryOptions.ClientOpts(ctx), + CertEmail: c.CertEmail, } if c.CheckClaims { co.ClaimVerifier = cosign.SimpleClaimVerifier