File: fix-go-attest.patch

package info (click to toggle)
golang-github-smallstep-certificates 0.28.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,684 kB
  • sloc: sh: 367; makefile: 129
file content (33 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
From: Simon Josefsson <simon@josefsson.org>
Subject: [PATCH] Fix Go Attest
Forwarded: not-needed
Last-Update: 2025-10-16

perl -pi -e 's,"github.com/smallstep/go-attestation,"github.com/google/go-attestation,' $(find . -type f)

diff --git a/acme/challenge.go b/acme/challenge.go
index df81ecd..db404c0 100644
--- a/acme/challenge.go
+++ b/acme/challenge.go
@@ -29,7 +29,7 @@ import (
 	"github.com/coreos/go-oidc/v3/oidc"
 	"github.com/fxamacker/cbor/v2"
 	"github.com/google/go-tpm/legacy/tpm2"
-	"github.com/smallstep/go-attestation/attest"
+	"github.com/google/go-attestation/attest"
 	"go.step.sm/crypto/jose"
 	"go.step.sm/crypto/keyutil"
 	"go.step.sm/crypto/pemutil"
diff --git a/acme/challenge_tpmsimulator_test.go b/acme/challenge_tpmsimulator_test.go
index 6f71954..d60c91c 100644
--- a/acme/challenge_tpmsimulator_test.go
+++ b/acme/challenge_tpmsimulator_test.go
@@ -21,7 +21,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/smallstep/go-attestation/attest"
+	"github.com/google/go-attestation/attest"
 	"go.step.sm/crypto/jose"
 	"go.step.sm/crypto/keyutil"
 	"go.step.sm/crypto/minica"