From: Simon Josefsson <simon@josefsson.org>
Subject: [PATCH] Fix goodkey
Date: Thu, 11 Dec 2025 09:16:06 +0100
Forwarded: not-needed

Until goodkey situation is resolved in github.com/sigstore/sigstore
see: https://github.com/sigstore/sigstore/issues/2233

diff --git a/pkg/x509/x509.go b/pkg/x509/x509.go
index ac5997d..ce49e6e 100644
--- a/pkg/x509/x509.go
+++ b/pkg/x509/x509.go
@@ -21,7 +21,6 @@ import (
 	"errors"
 
 	"github.com/sigstore/sigstore/pkg/cryptoutils"
-	"github.com/sigstore/sigstore/pkg/cryptoutils/goodkey"
 )
 
 var (
@@ -119,5 +118,5 @@ func VerifyCertChain(certs []*x509.Certificate, signer crypto.Signer, enforceInt
 	}
 
 	// Verify the key's strength
-	return goodkey.ValidatePubKey(signer.Public())
+	return cryptoutils.ValidatePubKey(signer.Public())
 }
