File: 0005-smallstep-scep.patch

package info (click to toggle)
golang-github-smallstep-certificates 0.20.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,144 kB
  • sloc: sh: 278; makefile: 170
file content (42 lines) | stat: -rw-r--r-- 1,064 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Fix dependency microscep require
 This package micromdm/scep package does not provide microscep,
 which is to be found in smallstep/scep.
Forwarded: not-needed
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2025-04-05

--- a/scep/authority.go
+++ b/scep/authority.go
@@ -8,8 +8,8 @@
 	"fmt"
 	"net/url"
 
-	microx509util "github.com/micromdm/scep/v2/cryptoutil/x509util"
-	microscep "github.com/micromdm/scep/v2/scep"
+	microx509util "github.com/micromdm/scep/cryptoutil/x509util"
+	microscep "github.com/smallstep/scep"
 	"go.mozilla.org/pkcs7"
 
 	"go.step.sm/crypto/x509util"
--- a/scep/scep.go
+++ b/scep/scep.go
@@ -5,7 +5,7 @@
 	"crypto/x509"
 	"encoding/asn1"
 
-	microscep "github.com/micromdm/scep/v2/scep"
+	microscep "github.com/smallstep/scep"
 	"go.mozilla.org/pkcs7"
 )
 
--- a/scep/api/api.go
+++ b/scep/api/api.go
@@ -13,7 +13,7 @@
 	"strings"
 
 	"github.com/go-chi/chi"
-	microscep "github.com/micromdm/scep/v2/scep"
+	microscep "github.com/smallstep/scep"
 	"go.mozilla.org/pkcs7"
 
 	"github.com/smallstep/certificates/api"