File: fix-goodkey.patch

package info (click to toggle)
golang-github-sigstore-timestamp-authority 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 916 kB
  • sloc: makefile: 94; javascript: 63; sh: 47
file content (27 lines) | stat: -rw-r--r-- 783 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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())
 }