Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 20:45 UTC
Upgrade acmeserver to github.com/go-chi/chi/v5 (#5913)
Upgrade acmeserver to github.com/go-chi/chi/v5 (#5913) This commit upgrades the router used in the acmeserver to github.com/go-chi/chi/v5. In the latest release of step-ca, the router used by certificates was upgraded to that version. Fixes #5911 Signed-off-by: Mariano Cano <mariano.cano@gmail.com>
Mariano Cano committed
Oct 23, 2023 at 18:02 UTC
ac0ad4da84b3bb478ecfe4a0e81a2e6bb1e10c9c
3 files changed
+2
-5
go.mod
+1
-2
@@ -9,7 +9,7 @@ require (
9
github.com/aryann/difflib v0.0.0-20210328193216-ff5ff6dc229b
10
github.com/caddyserver/certmagic v0.19.2
11
github.com/dustin/go-humanize v1.0.1
12
- github.com/go-chi/chi v4.1.2+incompatible
12
+ github.com/go-chi/chi/v5 v5.0.10
13
github.com/google/cel-go v0.15.1
14
github.com/google/uuid v1.3.1
15
github.com/klauspost/compress v1.17.0
@@ -49,7 +49,6 @@ require (
49
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
50
github.com/davecgh/go-spew v1.1.1 // indirect
51
github.com/fxamacker/cbor/v2 v2.5.0 // indirect
52
- github.com/go-chi/chi/v5 v5.0.10 // indirect
52
github.com/golang/glog v1.1.2 // indirect
53
github.com/google/certificate-transparency-go v1.1.6 // indirect
54
github.com/google/go-tpm v0.9.0 // indirect
go.sum
-2
@@ -139,8 +139,6 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo
139
github.com/fxamacker/cbor/v2 v2.5.0 h1:oHsG0V/Q6E/wqTS2O1Cozzsy69nqCiguo5Q1a1ADivE=
140
github.com/fxamacker/cbor/v2 v2.5.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo=
141
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
142
-github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
143
-github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
142
github.com/go-chi/chi/v5 v5.0.10 h1:rLz5avzKpjqxrYwXNfmjkrYYXOyLJd37pz53UFHC6vk=
143
github.com/go-chi/chi/v5 v5.0.10/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
144
github.com/go-kit/kit v0.4.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
modules/caddypki/acmeserver/acmeserver.go
+1
-1
@@ -26,7 +26,7 @@ import (
26
"strings"
27
"time"
28
29
- "github.com/go-chi/chi"
29
+ "github.com/go-chi/chi/v5"
30
"github.com/smallstep/certificates/acme"
31
"github.com/smallstep/certificates/acme/api"
32
acmeNoSQL "github.com/smallstep/certificates/acme/db/nosql"