From 7799554baacbb7ca2b80f2a22968cfcd8071ab0a Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 12 Sep 2019 17:31:10 -0600 Subject: go.mod: Use lego v3 and CertMagic 0.7.0 --- modules/caddytls/acmemanager.go | 5 +---- modules/caddytls/connpolicy.go | 2 +- modules/caddytls/tls.go | 2 +- modules/caddytls/values.go | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'modules/caddytls') diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go index 572bbd8..b717268 100644 --- a/modules/caddytls/acmemanager.go +++ b/modules/caddytls/acmemanager.go @@ -20,10 +20,8 @@ import ( "net/url" "time" - "github.com/go-acme/lego/certcrypto" - "github.com/caddyserver/caddy/v2" - "github.com/go-acme/lego/challenge" + "github.com/go-acme/lego/v3/challenge" "github.com/mholt/certmagic" ) @@ -51,7 +49,6 @@ type ACMEManagerMaker struct { Storage json.RawMessage `json:"storage,omitempty"` storage certmagic.Storage - keyType certcrypto.KeyType } // CaddyModule returns the Caddy module information. diff --git a/modules/caddytls/connpolicy.go b/modules/caddytls/connpolicy.go index 16fd4f1..c952369 100644 --- a/modules/caddytls/connpolicy.go +++ b/modules/caddytls/connpolicy.go @@ -23,7 +23,7 @@ import ( "strings" "github.com/caddyserver/caddy/v2" - "github.com/go-acme/lego/challenge/tlsalpn01" + "github.com/go-acme/lego/v3/challenge/tlsalpn01" "github.com/mholt/certmagic" ) diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go index 62ec98d..93a05be 100644 --- a/modules/caddytls/tls.go +++ b/modules/caddytls/tls.go @@ -22,7 +22,7 @@ import ( "time" "github.com/caddyserver/caddy/v2" - "github.com/go-acme/lego/challenge" + "github.com/go-acme/lego/v3/challenge" "github.com/mholt/certmagic" "golang.org/x/time/rate" ) diff --git a/modules/caddytls/values.go b/modules/caddytls/values.go index 533794c..21a6b33 100644 --- a/modules/caddytls/values.go +++ b/modules/caddytls/values.go @@ -18,7 +18,7 @@ import ( "crypto/tls" "crypto/x509" - "github.com/go-acme/lego/certcrypto" + "github.com/go-acme/lego/v3/certcrypto" "github.com/klauspost/cpuid" ) -- cgit v1.2.3