diff --git a/README.md b/README.md index 6f0f0d21..a40a09fc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Let's Encrypt client and ACME library written in Go. -[![GoDoc](https://godoc.org/github.com/go-acme/lego?status.svg)](https://pkg.go.dev/mod/github.com/go-acme/lego/v3) +[![GoDoc](https://godoc.org/github.com/go-acme/lego?status.svg)](https://pkg.go.dev/mod/github.com/go-acme/lego/v4) [![Build Status](https://travis-ci.com/go-acme/lego.svg?branch=master)](https://travis-ci.com/go-acme/lego) [![Docker Pulls](https://img.shields.io/docker/pulls/goacme/lego.svg)](https://hub.docker.com/r/goacme/lego/) diff --git a/acme/api/account.go b/acme/api/account.go index 5d658552..26ada38a 100644 --- a/acme/api/account.go +++ b/acme/api/account.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) type AccountService service diff --git a/acme/api/api.go b/acme/api/api.go index 34f4969b..269a689a 100644 --- a/acme/api/api.go +++ b/acme/api/api.go @@ -11,11 +11,11 @@ import ( "time" "github.com/cenkalti/backoff/v4" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api/internal/nonces" - "github.com/go-acme/lego/v3/acme/api/internal/secure" - "github.com/go-acme/lego/v3/acme/api/internal/sender" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api/internal/nonces" + "github.com/go-acme/lego/v4/acme/api/internal/secure" + "github.com/go-acme/lego/v4/acme/api/internal/sender" + "github.com/go-acme/lego/v4/log" ) // Core ACME/LE core API. diff --git a/acme/api/authorization.go b/acme/api/authorization.go index 2931cadc..47c5ea1e 100644 --- a/acme/api/authorization.go +++ b/acme/api/authorization.go @@ -3,7 +3,7 @@ package api import ( "errors" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) type AuthorizationService service diff --git a/acme/api/certificate.go b/acme/api/certificate.go index 39decf8a..f99e48eb 100644 --- a/acme/api/certificate.go +++ b/acme/api/certificate.go @@ -7,9 +7,9 @@ import ( "io/ioutil" "net/http" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/log" ) // maxBodySize is the maximum size of body that we will read. diff --git a/acme/api/certificate_test.go b/acme/api/certificate_test.go index e061753f..9cdd2772 100644 --- a/acme/api/certificate_test.go +++ b/acme/api/certificate_test.go @@ -7,7 +7,7 @@ import ( "net/http" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/acme/api/challenge.go b/acme/api/challenge.go index f6acf22f..c7397fa3 100644 --- a/acme/api/challenge.go +++ b/acme/api/challenge.go @@ -3,7 +3,7 @@ package api import ( "errors" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) type ChallengeService service diff --git a/acme/api/internal/nonces/nonce_manager.go b/acme/api/internal/nonces/nonce_manager.go index 0342af98..154cc5ea 100644 --- a/acme/api/internal/nonces/nonce_manager.go +++ b/acme/api/internal/nonces/nonce_manager.go @@ -6,7 +6,7 @@ import ( "net/http" "sync" - "github.com/go-acme/lego/v3/acme/api/internal/sender" + "github.com/go-acme/lego/v4/acme/api/internal/sender" ) // Manager Manages nonces. diff --git a/acme/api/internal/nonces/nonce_manager_test.go b/acme/api/internal/nonces/nonce_manager_test.go index fea26bd7..25a79e6f 100644 --- a/acme/api/internal/nonces/nonce_manager_test.go +++ b/acme/api/internal/nonces/nonce_manager_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api/internal/sender" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api/internal/sender" + "github.com/go-acme/lego/v4/platform/tester" ) func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) { diff --git a/acme/api/internal/secure/jws.go b/acme/api/internal/secure/jws.go index b75c6f31..8bc0831e 100644 --- a/acme/api/internal/secure/jws.go +++ b/acme/api/internal/secure/jws.go @@ -8,7 +8,7 @@ import ( "encoding/base64" "fmt" - "github.com/go-acme/lego/v3/acme/api/internal/nonces" + "github.com/go-acme/lego/v4/acme/api/internal/nonces" jose "gopkg.in/square/go-jose.v2" ) diff --git a/acme/api/internal/secure/jws_test.go b/acme/api/internal/secure/jws_test.go index 7487d92f..4b840c04 100644 --- a/acme/api/internal/secure/jws_test.go +++ b/acme/api/internal/secure/jws_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api/internal/nonces" - "github.com/go-acme/lego/v3/acme/api/internal/sender" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api/internal/nonces" + "github.com/go-acme/lego/v4/acme/api/internal/sender" + "github.com/go-acme/lego/v4/platform/tester" ) func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) { diff --git a/acme/api/internal/sender/sender.go b/acme/api/internal/sender/sender.go index 7b5c4885..fec2a332 100644 --- a/acme/api/internal/sender/sender.go +++ b/acme/api/internal/sender/sender.go @@ -9,7 +9,7 @@ import ( "runtime" "strings" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) type RequestOption func(*http.Request) error diff --git a/acme/api/order.go b/acme/api/order.go index b71898b1..a9638ad9 100644 --- a/acme/api/order.go +++ b/acme/api/order.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "errors" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) type OrderService service diff --git a/acme/api/order_test.go b/acme/api/order_test.go index 4d83d0e1..616cbc34 100644 --- a/acme/api/order_test.go +++ b/acme/api/order_test.go @@ -8,8 +8,8 @@ import ( "net/http" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" jose "gopkg.in/square/go-jose.v2" diff --git a/certificate/authorization.go b/certificate/authorization.go index aa231c45..9161d754 100644 --- a/certificate/authorization.go +++ b/certificate/authorization.go @@ -3,8 +3,8 @@ package certificate import ( "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/log" ) const ( diff --git a/certificate/certificates.go b/certificate/certificates.go index d5daec72..311a5c00 100644 --- a/certificate/certificates.go +++ b/certificate/certificates.go @@ -12,12 +12,12 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/wait" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/wait" "golang.org/x/crypto/ocsp" "golang.org/x/net/idna" ) diff --git a/certificate/certificates_test.go b/certificate/certificates_test.go index 4d275cec..7e96f799 100644 --- a/certificate/certificates_test.go +++ b/certificate/certificates_test.go @@ -7,10 +7,10 @@ import ( "net/http" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/challenge/challenges.go b/challenge/challenges.go index 5d4db6ec..4f6dc6bf 100644 --- a/challenge/challenges.go +++ b/challenge/challenges.go @@ -3,7 +3,7 @@ package challenge import ( "fmt" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) // Type is a string that identifies a particular challenge type and version of ACME challenge. diff --git a/challenge/dns01/dns_challenge.go b/challenge/dns01/dns_challenge.go index f3880c77..e46e9bac 100644 --- a/challenge/dns01/dns_challenge.go +++ b/challenge/dns01/dns_challenge.go @@ -8,11 +8,11 @@ import ( "strconv" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/wait" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/wait" "github.com/miekg/dns" ) diff --git a/challenge/dns01/dns_challenge_test.go b/challenge/dns01/dns_challenge_test.go index 3b2d1455..953b8b59 100644 --- a/challenge/dns01/dns_challenge_test.go +++ b/challenge/dns01/dns_challenge_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/challenge/http01/http_challenge.go b/challenge/http01/http_challenge.go index 7924b404..f23e483c 100644 --- a/challenge/http01/http_challenge.go +++ b/challenge/http01/http_challenge.go @@ -3,10 +3,10 @@ package http01 import ( "fmt" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/log" ) type ValidateFunc func(core *api.Core, domain string, chlng acme.Challenge) error diff --git a/challenge/http01/http_challenge_server.go b/challenge/http01/http_challenge_server.go index 79442172..11bc8700 100644 --- a/challenge/http01/http_challenge_server.go +++ b/challenge/http01/http_challenge_server.go @@ -7,7 +7,7 @@ import ( "net/textproto" "strings" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) // ProviderServer implements ChallengeProvider for `http-01` challenge. diff --git a/challenge/http01/http_challenge_test.go b/challenge/http01/http_challenge_test.go index 2fd51b90..81b500e0 100644 --- a/challenge/http01/http_challenge_test.go +++ b/challenge/http01/http_challenge_test.go @@ -9,10 +9,10 @@ import ( "net/textproto" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/challenge/resolver/prober.go b/challenge/resolver/prober.go index 60f3973b..42c2029c 100644 --- a/challenge/resolver/prober.go +++ b/challenge/resolver/prober.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/log" ) // Interface for all challenge solvers to implement. diff --git a/challenge/resolver/prober_mock_test.go b/challenge/resolver/prober_mock_test.go index 9f604069..5a91fe07 100644 --- a/challenge/resolver/prober_mock_test.go +++ b/challenge/resolver/prober_mock_test.go @@ -3,8 +3,8 @@ package resolver import ( "time" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/challenge" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/challenge" ) type preSolverMock struct { diff --git a/challenge/resolver/prober_test.go b/challenge/resolver/prober_test.go index 7160674e..129842d4 100644 --- a/challenge/resolver/prober_test.go +++ b/challenge/resolver/prober_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/challenge" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/challenge" "github.com/stretchr/testify/require" ) diff --git a/challenge/resolver/solver_manager.go b/challenge/resolver/solver_manager.go index bd79a4f8..07d9db5b 100644 --- a/challenge/resolver/solver_manager.go +++ b/challenge/resolver/solver_manager.go @@ -9,13 +9,13 @@ import ( "time" "github.com/cenkalti/backoff/v4" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/challenge/http01" - "github.com/go-acme/lego/v3/challenge/tlsalpn01" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/http01" + "github.com/go-acme/lego/v4/challenge/tlsalpn01" + "github.com/go-acme/lego/v4/log" ) type byType []acme.Challenge diff --git a/challenge/resolver/solver_manager_test.go b/challenge/resolver/solver_manager_test.go index 959a3cd1..59a70378 100644 --- a/challenge/resolver/solver_manager_test.go +++ b/challenge/resolver/solver_manager_test.go @@ -9,9 +9,9 @@ import ( "sort" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" jose "gopkg.in/square/go-jose.v2" diff --git a/challenge/tlsalpn01/tls_alpn_challenge.go b/challenge/tlsalpn01/tls_alpn_challenge.go index 348e5e92..7eb02cf0 100644 --- a/challenge/tlsalpn01/tls_alpn_challenge.go +++ b/challenge/tlsalpn01/tls_alpn_challenge.go @@ -8,11 +8,11 @@ import ( "encoding/asn1" "fmt" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/log" ) // idPeAcmeIdentifierV1 is the SMI Security for PKIX Certification Extension OID referencing the ACME extension. diff --git a/challenge/tlsalpn01/tls_alpn_challenge_server.go b/challenge/tlsalpn01/tls_alpn_challenge_server.go index 8d09585c..cc853472 100644 --- a/challenge/tlsalpn01/tls_alpn_challenge_server.go +++ b/challenge/tlsalpn01/tls_alpn_challenge_server.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) const ( diff --git a/challenge/tlsalpn01/tls_alpn_challenge_test.go b/challenge/tlsalpn01/tls_alpn_challenge_test.go index 14ade42b..9bfe9366 100644 --- a/challenge/tlsalpn01/tls_alpn_challenge_test.go +++ b/challenge/tlsalpn01/tls_alpn_challenge_test.go @@ -10,10 +10,10 @@ import ( "net/http" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/cmd/account.go b/cmd/account.go index 902cf755..73247c93 100644 --- a/cmd/account.go +++ b/cmd/account.go @@ -3,7 +3,7 @@ package cmd import ( "crypto" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/registration" ) // Account represents a users local saved credentials. diff --git a/cmd/accounts_storage.go b/cmd/accounts_storage.go index ffa12997..df398f36 100644 --- a/cmd/accounts_storage.go +++ b/cmd/accounts_storage.go @@ -13,10 +13,10 @@ import ( "path/filepath" "strings" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/registration" "github.com/urfave/cli" ) diff --git a/cmd/certs_storage.go b/cmd/certs_storage.go index 5e0b3c28..cc81309f 100644 --- a/cmd/certs_storage.go +++ b/cmd/certs_storage.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/log" "github.com/urfave/cli" "golang.org/x/net/idna" ) diff --git a/cmd/cmd_before.go b/cmd/cmd_before.go index 9814219a..68564678 100644 --- a/cmd/cmd_before.go +++ b/cmd/cmd_before.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" "github.com/urfave/cli" ) diff --git a/cmd/cmd_list.go b/cmd/cmd_list.go index ee0ff5b1..68fd0c70 100644 --- a/cmd/cmd_list.go +++ b/cmd/cmd_list.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/go-acme/lego/v3/certcrypto" + "github.com/go-acme/lego/v4/certcrypto" "github.com/urfave/cli" ) diff --git a/cmd/cmd_renew.go b/cmd/cmd_renew.go index 8283b5f5..06d65be8 100644 --- a/cmd/cmd_renew.go +++ b/cmd/cmd_renew.go @@ -5,10 +5,10 @@ import ( "crypto/x509" "time" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/log" "github.com/urfave/cli" ) diff --git a/cmd/cmd_revoke.go b/cmd/cmd_revoke.go index af608e90..6d2176b3 100644 --- a/cmd/cmd_revoke.go +++ b/cmd/cmd_revoke.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" "github.com/urfave/cli" ) diff --git a/cmd/cmd_run.go b/cmd/cmd_run.go index a6d0eb79..342f909f 100644 --- a/cmd/cmd_run.go +++ b/cmd/cmd_run.go @@ -6,10 +6,10 @@ import ( "os" "strings" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/registration" "github.com/urfave/cli" ) diff --git a/cmd/flags.go b/cmd/flags.go index 7ae8c0b6..8307b2c9 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/go-acme/lego/v3/lego" + "github.com/go-acme/lego/v4/lego" "github.com/urfave/cli" ) diff --git a/cmd/lego/main.go b/cmd/lego/main.go index 44787430..2467272e 100644 --- a/cmd/lego/main.go +++ b/cmd/lego/main.go @@ -8,8 +8,8 @@ import ( "path/filepath" "runtime" - "github.com/go-acme/lego/v3/cmd" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/cmd" + "github.com/go-acme/lego/v4/log" "github.com/urfave/cli" ) diff --git a/cmd/setup.go b/cmd/setup.go index 5598cdc5..a88cad73 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/registration" "github.com/urfave/cli" ) diff --git a/cmd/setup_challenges.go b/cmd/setup_challenges.go index 5f93b520..95aee069 100644 --- a/cmd/setup_challenges.go +++ b/cmd/setup_challenges.go @@ -5,15 +5,15 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/challenge/http01" - "github.com/go-acme/lego/v3/challenge/tlsalpn01" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/providers/dns" - "github.com/go-acme/lego/v3/providers/http/memcached" - "github.com/go-acme/lego/v3/providers/http/webroot" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/http01" + "github.com/go-acme/lego/v4/challenge/tlsalpn01" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/providers/dns" + "github.com/go-acme/lego/v4/providers/http/memcached" + "github.com/go-acme/lego/v4/providers/http/webroot" "github.com/urfave/cli" ) diff --git a/docs/content/installation/_index.md b/docs/content/installation/_index.md index c2b3dffb..e8a8bc61 100644 --- a/docs/content/installation/_index.md +++ b/docs/content/installation/_index.md @@ -48,7 +48,7 @@ Requirements: To install the latest development version from sources, just run: ```bash -go get -u github.com/go-acme/lego/v3/cmd/lego +go get -u github.com/go-acme/lego/v4/cmd/lego ``` or diff --git a/docs/content/usage/library/_index.md b/docs/content/usage/library/_index.md index 846afea2..205b2144 100644 --- a/docs/content/usage/library/_index.md +++ b/docs/content/usage/library/_index.md @@ -27,12 +27,12 @@ import ( "fmt" "log" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/challenge/http01" - "github.com/go-acme/lego/v3/challenge/tlsalpn01" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/challenge/http01" + "github.com/go-acme/lego/v4/challenge/tlsalpn01" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/registration" ) // You'll need a user or account type that implements acme.User diff --git a/e2e/challenges_test.go b/e2e/challenges_test.go index ec6909bb..96ff8437 100644 --- a/e2e/challenges_test.go +++ b/e2e/challenges_test.go @@ -10,12 +10,12 @@ import ( "os" "testing" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/challenge/http01" - "github.com/go-acme/lego/v3/challenge/tlsalpn01" - "github.com/go-acme/lego/v3/e2e/loader" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/challenge/http01" + "github.com/go-acme/lego/v4/challenge/tlsalpn01" + "github.com/go-acme/lego/v4/e2e/loader" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/registration" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/e2e/dnschallenge/dns_challenges_test.go b/e2e/dnschallenge/dns_challenges_test.go index dbcecf31..aab3bb38 100644 --- a/e2e/dnschallenge/dns_challenges_test.go +++ b/e2e/dnschallenge/dns_challenges_test.go @@ -8,12 +8,12 @@ import ( "os" "testing" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/e2e/loader" - "github.com/go-acme/lego/v3/lego" - "github.com/go-acme/lego/v3/providers/dns" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/e2e/loader" + "github.com/go-acme/lego/v4/lego" + "github.com/go-acme/lego/v4/providers/dns" + "github.com/go-acme/lego/v4/registration" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/e2e/loader/loader.go b/e2e/loader/loader.go index 02bb2571..69ebc00b 100644 --- a/e2e/loader/loader.go +++ b/e2e/loader/loader.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/wait" + "github.com/go-acme/lego/v4/platform/wait" ) const ( diff --git a/go.mod b/go.mod index 1ef71a08..ded97eac 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/go-acme/lego/v3 +module github.com/go-acme/lego/v4 go 1.14 diff --git a/lego/client.go b/lego/client.go index 2051d12e..ef72a288 100644 --- a/lego/client.go +++ b/lego/client.go @@ -4,10 +4,10 @@ import ( "errors" "net/url" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/certificate" - "github.com/go-acme/lego/v3/challenge/resolver" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/certificate" + "github.com/go-acme/lego/v4/challenge/resolver" + "github.com/go-acme/lego/v4/registration" ) // Client is the user-friendly way to ACME. diff --git a/lego/client_config.go b/lego/client_config.go index ede46d9e..c07d20a7 100644 --- a/lego/client_config.go +++ b/lego/client_config.go @@ -10,8 +10,8 @@ import ( "os" "time" - "github.com/go-acme/lego/v3/certcrypto" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/certcrypto" + "github.com/go-acme/lego/v4/registration" ) const ( diff --git a/lego/client_test.go b/lego/client_test.go index 7b50f74d..36d43c96 100644 --- a/lego/client_test.go +++ b/lego/client_test.go @@ -6,8 +6,8 @@ import ( "crypto/rsa" "testing" - "github.com/go-acme/lego/v3/platform/tester" - "github.com/go-acme/lego/v3/registration" + "github.com/go-acme/lego/v4/platform/tester" + "github.com/go-acme/lego/v4/registration" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/platform/config/env/env.go b/platform/config/env/env.go index 73d07e48..41d164ca 100644 --- a/platform/config/env/env.go +++ b/platform/config/env/env.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) // Get environment variables. diff --git a/platform/tester/api.go b/platform/tester/api.go index c5217693..df7cdd21 100644 --- a/platform/tester/api.go +++ b/platform/tester/api.go @@ -5,7 +5,7 @@ import ( "net/http" "net/http/httptest" - "github.com/go-acme/lego/v3/acme" + "github.com/go-acme/lego/v4/acme" ) // SetupFakeAPI Minimal stub ACME server for validation. diff --git a/platform/tester/env_test.go b/platform/tester/env_test.go index d879ed13..1c6760ad 100644 --- a/platform/tester/env_test.go +++ b/platform/tester/env_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" ) diff --git a/platform/wait/wait.go b/platform/wait/wait.go index 163c6b35..987dae54 100644 --- a/platform/wait/wait.go +++ b/platform/wait/wait.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) // For polls the given function 'f', once every 'interval', up to 'timeout'. diff --git a/providers/dns/acmedns/acmedns.go b/providers/dns/acmedns/acmedns.go index 5ad9af09..f50ad966 100644 --- a/providers/dns/acmedns/acmedns.go +++ b/providers/dns/acmedns/acmedns.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/cpu/goacmedns" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/alidns/alidns.go b/providers/dns/alidns/alidns.go index b2b31be5..62963b7f 100644 --- a/providers/dns/alidns/alidns.go +++ b/providers/dns/alidns/alidns.go @@ -11,8 +11,8 @@ import ( "github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials" "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" "github.com/aliyun/alibaba-cloud-sdk-go/services/alidns" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "golang.org/x/net/idna" ) diff --git a/providers/dns/alidns/alidns_test.go b/providers/dns/alidns/alidns_test.go index a37e9d15..9a427de6 100644 --- a/providers/dns/alidns/alidns_test.go +++ b/providers/dns/alidns/alidns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/arvancloud/arvancloud.go b/providers/dns/arvancloud/arvancloud.go index 6a1b58cc..1b630a45 100644 --- a/providers/dns/arvancloud/arvancloud.go +++ b/providers/dns/arvancloud/arvancloud.go @@ -9,9 +9,9 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/arvancloud/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/arvancloud/internal" ) const minTTL = 600 diff --git a/providers/dns/arvancloud/arvancloud_test.go b/providers/dns/arvancloud/arvancloud_test.go index b3c357a5..7c90df5f 100644 --- a/providers/dns/arvancloud/arvancloud_test.go +++ b/providers/dns/arvancloud/arvancloud_test.go @@ -3,7 +3,7 @@ package arvancloud import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/auroradns/auroradns.go b/providers/dns/auroradns/auroradns.go index fdc8ad42..f8bb520a 100644 --- a/providers/dns/auroradns/auroradns.go +++ b/providers/dns/auroradns/auroradns.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/nrdcg/auroradns" ) diff --git a/providers/dns/auroradns/auroradns_test.go b/providers/dns/auroradns/auroradns_test.go index 53012393..128e18f2 100644 --- a/providers/dns/auroradns/auroradns_test.go +++ b/providers/dns/auroradns/auroradns_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/autodns/autodns.go b/providers/dns/autodns/autodns.go index 078b27d1..3db90574 100644 --- a/providers/dns/autodns/autodns.go +++ b/providers/dns/autodns/autodns.go @@ -8,8 +8,8 @@ import ( "net/url" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/autodns/autodns_test.go b/providers/dns/autodns/autodns_test.go index f7f0c708..60c77400 100644 --- a/providers/dns/autodns/autodns_test.go +++ b/providers/dns/autodns/autodns_test.go @@ -3,7 +3,7 @@ package autodns import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/azure/azure.go b/providers/dns/azure/azure.go index 5ed5d063..4048e3ec 100644 --- a/providers/dns/azure/azure.go +++ b/providers/dns/azure/azure.go @@ -16,8 +16,8 @@ import ( aazure "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/azure/auth" "github.com/Azure/go-autorest/autorest/to" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const defaultMetadataEndpoint = "http://169.254.169.254" diff --git a/providers/dns/azure/azure_test.go b/providers/dns/azure/azure_test.go index 01dcb129..a7613f36 100644 --- a/providers/dns/azure/azure_test.go +++ b/providers/dns/azure/azure_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/bindman/bindman.go b/providers/dns/bindman/bindman.go index 60191c31..bbc02172 100644 --- a/providers/dns/bindman/bindman.go +++ b/providers/dns/bindman/bindman.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/labbsr0x/bindman-dns-webhook/src/client" ) diff --git a/providers/dns/bindman/bindman_test.go b/providers/dns/bindman/bindman_test.go index 2342ea3f..b428f606 100644 --- a/providers/dns/bindman/bindman_test.go +++ b/providers/dns/bindman/bindman_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" bindmanClient "github.com/labbsr0x/bindman-dns-webhook/src/client" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/bluecat/bluecat.go b/providers/dns/bluecat/bluecat.go index f876fef8..4d197dfc 100644 --- a/providers/dns/bluecat/bluecat.go +++ b/providers/dns/bluecat/bluecat.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/bluecat/bluecat_test.go b/providers/dns/bluecat/bluecat_test.go index 2a19de34..67290dbe 100644 --- a/providers/dns/bluecat/bluecat_test.go +++ b/providers/dns/bluecat/bluecat_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/checkdomain/checkdomain.go b/providers/dns/checkdomain/checkdomain.go index 452b6313..e14bfa37 100644 --- a/providers/dns/checkdomain/checkdomain.go +++ b/providers/dns/checkdomain/checkdomain.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/checkdomain/checkdomain_test.go b/providers/dns/checkdomain/checkdomain_test.go index 697334f8..b5cde5f6 100644 --- a/providers/dns/checkdomain/checkdomain_test.go +++ b/providers/dns/checkdomain/checkdomain_test.go @@ -4,7 +4,7 @@ import ( "net/url" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/checkdomain/client_test.go b/providers/dns/checkdomain/client_test.go index a28a35bb..8a7cb05a 100644 --- a/providers/dns/checkdomain/client_test.go +++ b/providers/dns/checkdomain/client_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/clouddns/clouddns.go b/providers/dns/clouddns/clouddns.go index e6b618b7..b87ed073 100644 --- a/providers/dns/clouddns/clouddns.go +++ b/providers/dns/clouddns/clouddns.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/clouddns/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/clouddns/internal" ) // Environment variables names. diff --git a/providers/dns/clouddns/clouddns_test.go b/providers/dns/clouddns/clouddns_test.go index 0822149f..9ee0069a 100644 --- a/providers/dns/clouddns/clouddns_test.go +++ b/providers/dns/clouddns/clouddns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/cloudflare/client.go b/providers/dns/cloudflare/client.go index 3a5315a7..c98ba45f 100644 --- a/providers/dns/cloudflare/client.go +++ b/providers/dns/cloudflare/client.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/cloudflare/cloudflare-go" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) type metaClient struct { diff --git a/providers/dns/cloudflare/cloudflare.go b/providers/dns/cloudflare/cloudflare.go index b1ead479..d8a33a24 100644 --- a/providers/dns/cloudflare/cloudflare.go +++ b/providers/dns/cloudflare/cloudflare.go @@ -9,9 +9,9 @@ import ( "time" cloudflare "github.com/cloudflare/cloudflare-go" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/cloudflare/cloudflare_test.go b/providers/dns/cloudflare/cloudflare_test.go index 8617a1da..b39ea34a 100644 --- a/providers/dns/cloudflare/cloudflare_test.go +++ b/providers/dns/cloudflare/cloudflare_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/cloudns/cloudns.go b/providers/dns/cloudns/cloudns.go index 7682c387..575c2e09 100644 --- a/providers/dns/cloudns/cloudns.go +++ b/providers/dns/cloudns/cloudns.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/cloudns/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/cloudns/internal" ) // Environment variables names. diff --git a/providers/dns/cloudns/cloudns_test.go b/providers/dns/cloudns/cloudns_test.go index 678f5b6a..9b57ae82 100644 --- a/providers/dns/cloudns/cloudns_test.go +++ b/providers/dns/cloudns/cloudns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/cloudns/internal/client.go b/providers/dns/cloudns/internal/client.go index 0b12257d..931118d8 100644 --- a/providers/dns/cloudns/internal/client.go +++ b/providers/dns/cloudns/internal/client.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) const defaultBaseURL = "https://api.cloudns.net/dns/" diff --git a/providers/dns/cloudxns/cloudxns.go b/providers/dns/cloudxns/cloudxns.go index a57aec8c..32ded4eb 100644 --- a/providers/dns/cloudxns/cloudxns.go +++ b/providers/dns/cloudxns/cloudxns.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/cloudxns/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/cloudxns/internal" ) // Environment variables names. diff --git a/providers/dns/cloudxns/cloudxns_test.go b/providers/dns/cloudxns/cloudxns_test.go index 1addc6aa..a3f0229e 100644 --- a/providers/dns/cloudxns/cloudxns_test.go +++ b/providers/dns/cloudxns/cloudxns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/cloudxns/internal/client.go b/providers/dns/cloudxns/internal/client.go index ec7b4e3c..6f4e211e 100644 --- a/providers/dns/cloudxns/internal/client.go +++ b/providers/dns/cloudxns/internal/client.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) const defaultBaseURL = "https://www.cloudxns.net/api2/" diff --git a/providers/dns/conoha/conoha.go b/providers/dns/conoha/conoha.go index 99249add..9d803662 100644 --- a/providers/dns/conoha/conoha.go +++ b/providers/dns/conoha/conoha.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/conoha/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/conoha/internal" ) // Environment variables names. diff --git a/providers/dns/conoha/conoha_test.go b/providers/dns/conoha/conoha_test.go index 0acaa8b3..7a492bff 100644 --- a/providers/dns/conoha/conoha_test.go +++ b/providers/dns/conoha/conoha_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/constellix/constellix.go b/providers/dns/constellix/constellix.go index d0172483..51fd8e65 100644 --- a/providers/dns/constellix/constellix.go +++ b/providers/dns/constellix/constellix.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/constellix/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/constellix/internal" ) // Environment variables names. diff --git a/providers/dns/constellix/constellix_test.go b/providers/dns/constellix/constellix_test.go index ac6a86e7..dee0f59d 100644 --- a/providers/dns/constellix/constellix_test.go +++ b/providers/dns/constellix/constellix_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/desec/desec.go b/providers/dns/desec/desec.go index fde44df9..0a3e138e 100644 --- a/providers/dns/desec/desec.go +++ b/providers/dns/desec/desec.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/nrdcg/desec" ) diff --git a/providers/dns/desec/desec_test.go b/providers/dns/desec/desec_test.go index 6026c7a1..94f6dfcc 100644 --- a/providers/dns/desec/desec_test.go +++ b/providers/dns/desec/desec_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/designate/designate.go b/providers/dns/designate/designate.go index eb849408..99785fb4 100644 --- a/providers/dns/designate/designate.go +++ b/providers/dns/designate/designate.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud/openstack" "github.com/gophercloud/gophercloud/openstack/dns/v2/recordsets" diff --git a/providers/dns/designate/designate_test.go b/providers/dns/designate/designate_test.go index e910e4ce..ce4c49c4 100644 --- a/providers/dns/designate/designate_test.go +++ b/providers/dns/designate/designate_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/gophercloud/utils/openstack/clientconfig" "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" diff --git a/providers/dns/digitalocean/client.go b/providers/dns/digitalocean/client.go index 3f2bfd20..4223307e 100644 --- a/providers/dns/digitalocean/client.go +++ b/providers/dns/digitalocean/client.go @@ -9,7 +9,7 @@ import ( "io/ioutil" "net/http" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) const defaultBaseURL = "https://api.digitalocean.com" diff --git a/providers/dns/digitalocean/digitalocean.go b/providers/dns/digitalocean/digitalocean.go index 479297bb..3a230d4c 100644 --- a/providers/dns/digitalocean/digitalocean.go +++ b/providers/dns/digitalocean/digitalocean.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/digitalocean/digitalocean_test.go b/providers/dns/digitalocean/digitalocean_test.go index c076edbc..ab9e005b 100644 --- a/providers/dns/digitalocean/digitalocean_test.go +++ b/providers/dns/digitalocean/digitalocean_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dns_providers.go b/providers/dns/dns_providers.go index 08d714ff..129181c9 100644 --- a/providers/dns/dns_providers.go +++ b/providers/dns/dns_providers.go @@ -3,85 +3,85 @@ package dns import ( "fmt" - "github.com/go-acme/lego/v3/challenge" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/providers/dns/acmedns" - "github.com/go-acme/lego/v3/providers/dns/alidns" - "github.com/go-acme/lego/v3/providers/dns/arvancloud" - "github.com/go-acme/lego/v3/providers/dns/auroradns" - "github.com/go-acme/lego/v3/providers/dns/autodns" - "github.com/go-acme/lego/v3/providers/dns/azure" - "github.com/go-acme/lego/v3/providers/dns/bindman" - "github.com/go-acme/lego/v3/providers/dns/bluecat" - "github.com/go-acme/lego/v3/providers/dns/checkdomain" - "github.com/go-acme/lego/v3/providers/dns/clouddns" - "github.com/go-acme/lego/v3/providers/dns/cloudflare" - "github.com/go-acme/lego/v3/providers/dns/cloudns" - "github.com/go-acme/lego/v3/providers/dns/cloudxns" - "github.com/go-acme/lego/v3/providers/dns/conoha" - "github.com/go-acme/lego/v3/providers/dns/constellix" - "github.com/go-acme/lego/v3/providers/dns/desec" - "github.com/go-acme/lego/v3/providers/dns/designate" - "github.com/go-acme/lego/v3/providers/dns/digitalocean" - "github.com/go-acme/lego/v3/providers/dns/dnsimple" - "github.com/go-acme/lego/v3/providers/dns/dnsmadeeasy" - "github.com/go-acme/lego/v3/providers/dns/dnspod" - "github.com/go-acme/lego/v3/providers/dns/dode" - "github.com/go-acme/lego/v3/providers/dns/dreamhost" - "github.com/go-acme/lego/v3/providers/dns/duckdns" - "github.com/go-acme/lego/v3/providers/dns/dyn" - "github.com/go-acme/lego/v3/providers/dns/dynu" - "github.com/go-acme/lego/v3/providers/dns/easydns" - "github.com/go-acme/lego/v3/providers/dns/edgedns" - "github.com/go-acme/lego/v3/providers/dns/exec" - "github.com/go-acme/lego/v3/providers/dns/exoscale" - "github.com/go-acme/lego/v3/providers/dns/gandi" - "github.com/go-acme/lego/v3/providers/dns/gandiv5" - "github.com/go-acme/lego/v3/providers/dns/gcloud" - "github.com/go-acme/lego/v3/providers/dns/glesys" - "github.com/go-acme/lego/v3/providers/dns/godaddy" - "github.com/go-acme/lego/v3/providers/dns/hetzner" - "github.com/go-acme/lego/v3/providers/dns/hostingde" - "github.com/go-acme/lego/v3/providers/dns/httpreq" - "github.com/go-acme/lego/v3/providers/dns/hyperone" - "github.com/go-acme/lego/v3/providers/dns/iij" - "github.com/go-acme/lego/v3/providers/dns/inwx" - "github.com/go-acme/lego/v3/providers/dns/joker" - "github.com/go-acme/lego/v3/providers/dns/lightsail" - "github.com/go-acme/lego/v3/providers/dns/linode" - "github.com/go-acme/lego/v3/providers/dns/liquidweb" - "github.com/go-acme/lego/v3/providers/dns/luadns" - "github.com/go-acme/lego/v3/providers/dns/mydnsjp" - "github.com/go-acme/lego/v3/providers/dns/mythicbeasts" - "github.com/go-acme/lego/v3/providers/dns/namecheap" - "github.com/go-acme/lego/v3/providers/dns/namedotcom" - "github.com/go-acme/lego/v3/providers/dns/namesilo" - "github.com/go-acme/lego/v3/providers/dns/netcup" - "github.com/go-acme/lego/v3/providers/dns/netlify" - "github.com/go-acme/lego/v3/providers/dns/nifcloud" - "github.com/go-acme/lego/v3/providers/dns/ns1" - "github.com/go-acme/lego/v3/providers/dns/oraclecloud" - "github.com/go-acme/lego/v3/providers/dns/otc" - "github.com/go-acme/lego/v3/providers/dns/ovh" - "github.com/go-acme/lego/v3/providers/dns/pdns" - "github.com/go-acme/lego/v3/providers/dns/rackspace" - "github.com/go-acme/lego/v3/providers/dns/regru" - "github.com/go-acme/lego/v3/providers/dns/rfc2136" - "github.com/go-acme/lego/v3/providers/dns/rimuhosting" - "github.com/go-acme/lego/v3/providers/dns/route53" - "github.com/go-acme/lego/v3/providers/dns/sakuracloud" - "github.com/go-acme/lego/v3/providers/dns/scaleway" - "github.com/go-acme/lego/v3/providers/dns/selectel" - "github.com/go-acme/lego/v3/providers/dns/servercow" - "github.com/go-acme/lego/v3/providers/dns/stackpath" - "github.com/go-acme/lego/v3/providers/dns/transip" - "github.com/go-acme/lego/v3/providers/dns/vegadns" - "github.com/go-acme/lego/v3/providers/dns/versio" - "github.com/go-acme/lego/v3/providers/dns/vscale" - "github.com/go-acme/lego/v3/providers/dns/vultr" - "github.com/go-acme/lego/v3/providers/dns/yandex" - "github.com/go-acme/lego/v3/providers/dns/zoneee" - "github.com/go-acme/lego/v3/providers/dns/zonomi" + "github.com/go-acme/lego/v4/challenge" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/providers/dns/acmedns" + "github.com/go-acme/lego/v4/providers/dns/alidns" + "github.com/go-acme/lego/v4/providers/dns/arvancloud" + "github.com/go-acme/lego/v4/providers/dns/auroradns" + "github.com/go-acme/lego/v4/providers/dns/autodns" + "github.com/go-acme/lego/v4/providers/dns/azure" + "github.com/go-acme/lego/v4/providers/dns/bindman" + "github.com/go-acme/lego/v4/providers/dns/bluecat" + "github.com/go-acme/lego/v4/providers/dns/checkdomain" + "github.com/go-acme/lego/v4/providers/dns/clouddns" + "github.com/go-acme/lego/v4/providers/dns/cloudflare" + "github.com/go-acme/lego/v4/providers/dns/cloudns" + "github.com/go-acme/lego/v4/providers/dns/cloudxns" + "github.com/go-acme/lego/v4/providers/dns/conoha" + "github.com/go-acme/lego/v4/providers/dns/constellix" + "github.com/go-acme/lego/v4/providers/dns/desec" + "github.com/go-acme/lego/v4/providers/dns/designate" + "github.com/go-acme/lego/v4/providers/dns/digitalocean" + "github.com/go-acme/lego/v4/providers/dns/dnsimple" + "github.com/go-acme/lego/v4/providers/dns/dnsmadeeasy" + "github.com/go-acme/lego/v4/providers/dns/dnspod" + "github.com/go-acme/lego/v4/providers/dns/dode" + "github.com/go-acme/lego/v4/providers/dns/dreamhost" + "github.com/go-acme/lego/v4/providers/dns/duckdns" + "github.com/go-acme/lego/v4/providers/dns/dyn" + "github.com/go-acme/lego/v4/providers/dns/dynu" + "github.com/go-acme/lego/v4/providers/dns/easydns" + "github.com/go-acme/lego/v4/providers/dns/edgedns" + "github.com/go-acme/lego/v4/providers/dns/exec" + "github.com/go-acme/lego/v4/providers/dns/exoscale" + "github.com/go-acme/lego/v4/providers/dns/gandi" + "github.com/go-acme/lego/v4/providers/dns/gandiv5" + "github.com/go-acme/lego/v4/providers/dns/gcloud" + "github.com/go-acme/lego/v4/providers/dns/glesys" + "github.com/go-acme/lego/v4/providers/dns/godaddy" + "github.com/go-acme/lego/v4/providers/dns/hetzner" + "github.com/go-acme/lego/v4/providers/dns/hostingde" + "github.com/go-acme/lego/v4/providers/dns/httpreq" + "github.com/go-acme/lego/v4/providers/dns/hyperone" + "github.com/go-acme/lego/v4/providers/dns/iij" + "github.com/go-acme/lego/v4/providers/dns/inwx" + "github.com/go-acme/lego/v4/providers/dns/joker" + "github.com/go-acme/lego/v4/providers/dns/lightsail" + "github.com/go-acme/lego/v4/providers/dns/linode" + "github.com/go-acme/lego/v4/providers/dns/liquidweb" + "github.com/go-acme/lego/v4/providers/dns/luadns" + "github.com/go-acme/lego/v4/providers/dns/mydnsjp" + "github.com/go-acme/lego/v4/providers/dns/mythicbeasts" + "github.com/go-acme/lego/v4/providers/dns/namecheap" + "github.com/go-acme/lego/v4/providers/dns/namedotcom" + "github.com/go-acme/lego/v4/providers/dns/namesilo" + "github.com/go-acme/lego/v4/providers/dns/netcup" + "github.com/go-acme/lego/v4/providers/dns/netlify" + "github.com/go-acme/lego/v4/providers/dns/nifcloud" + "github.com/go-acme/lego/v4/providers/dns/ns1" + "github.com/go-acme/lego/v4/providers/dns/oraclecloud" + "github.com/go-acme/lego/v4/providers/dns/otc" + "github.com/go-acme/lego/v4/providers/dns/ovh" + "github.com/go-acme/lego/v4/providers/dns/pdns" + "github.com/go-acme/lego/v4/providers/dns/rackspace" + "github.com/go-acme/lego/v4/providers/dns/regru" + "github.com/go-acme/lego/v4/providers/dns/rfc2136" + "github.com/go-acme/lego/v4/providers/dns/rimuhosting" + "github.com/go-acme/lego/v4/providers/dns/route53" + "github.com/go-acme/lego/v4/providers/dns/sakuracloud" + "github.com/go-acme/lego/v4/providers/dns/scaleway" + "github.com/go-acme/lego/v4/providers/dns/selectel" + "github.com/go-acme/lego/v4/providers/dns/servercow" + "github.com/go-acme/lego/v4/providers/dns/stackpath" + "github.com/go-acme/lego/v4/providers/dns/transip" + "github.com/go-acme/lego/v4/providers/dns/vegadns" + "github.com/go-acme/lego/v4/providers/dns/versio" + "github.com/go-acme/lego/v4/providers/dns/vscale" + "github.com/go-acme/lego/v4/providers/dns/vultr" + "github.com/go-acme/lego/v4/providers/dns/yandex" + "github.com/go-acme/lego/v4/providers/dns/zoneee" + "github.com/go-acme/lego/v4/providers/dns/zonomi" ) // NewDNSChallengeProviderByName Factory for DNS providers. diff --git a/providers/dns/dns_providers_test.go b/providers/dns/dns_providers_test.go index 58e5131e..1c005d53 100644 --- a/providers/dns/dns_providers_test.go +++ b/providers/dns/dns_providers_test.go @@ -3,8 +3,8 @@ package dns import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" - "github.com/go-acme/lego/v3/providers/dns/exec" + "github.com/go-acme/lego/v4/platform/tester" + "github.com/go-acme/lego/v4/providers/dns/exec" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dnsimple/dnsimple.go b/providers/dns/dnsimple/dnsimple.go index 9681cb94..38fa188a 100644 --- a/providers/dns/dnsimple/dnsimple.go +++ b/providers/dns/dnsimple/dnsimple.go @@ -10,8 +10,8 @@ import ( "time" "github.com/dnsimple/dnsimple-go/dnsimple" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "golang.org/x/oauth2" ) diff --git a/providers/dns/dnsimple/dnsimple_test.go b/providers/dns/dnsimple/dnsimple_test.go index 7631e48c..2cd7862b 100644 --- a/providers/dns/dnsimple/dnsimple_test.go +++ b/providers/dns/dnsimple/dnsimple_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dnsmadeeasy/dnsmadeeasy.go b/providers/dns/dnsmadeeasy/dnsmadeeasy.go index b11124a2..c40af620 100644 --- a/providers/dns/dnsmadeeasy/dnsmadeeasy.go +++ b/providers/dns/dnsmadeeasy/dnsmadeeasy.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/dnsmadeeasy/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/dnsmadeeasy/internal" ) // Environment variables names. diff --git a/providers/dns/dnsmadeeasy/dnsmadeeasy_test.go b/providers/dns/dnsmadeeasy/dnsmadeeasy_test.go index fb37b20f..d3523e04 100644 --- a/providers/dns/dnsmadeeasy/dnsmadeeasy_test.go +++ b/providers/dns/dnsmadeeasy/dnsmadeeasy_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dnspod/dnspod.go b/providers/dns/dnspod/dnspod.go index adefdfa3..8a1d75ff 100644 --- a/providers/dns/dnspod/dnspod.go +++ b/providers/dns/dnspod/dnspod.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/nrdcg/dnspod-go" ) diff --git a/providers/dns/dnspod/dnspod_test.go b/providers/dns/dnspod/dnspod_test.go index cb5a5f22..4abd1baa 100644 --- a/providers/dns/dnspod/dnspod_test.go +++ b/providers/dns/dnspod/dnspod_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dode/client.go b/providers/dns/dode/client.go index 82819123..357dc0d1 100644 --- a/providers/dns/dode/client.go +++ b/providers/dns/dode/client.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "net/url" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) type apiResponse struct { diff --git a/providers/dns/dode/dode.go b/providers/dns/dode/dode.go index 7029fd7c..4a1915c5 100644 --- a/providers/dns/dode/dode.go +++ b/providers/dns/dode/dode.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/dode/dode_test.go b/providers/dns/dode/dode_test.go index 942983cd..59ab0163 100644 --- a/providers/dns/dode/dode_test.go +++ b/providers/dns/dode/dode_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dreamhost/client.go b/providers/dns/dreamhost/client.go index 7d2ae0eb..6ea23664 100644 --- a/providers/dns/dreamhost/client.go +++ b/providers/dns/dreamhost/client.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "net/url" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) const ( diff --git a/providers/dns/dreamhost/dreamhost.go b/providers/dns/dreamhost/dreamhost.go index a8b9a166..709460bb 100644 --- a/providers/dns/dreamhost/dreamhost.go +++ b/providers/dns/dreamhost/dreamhost.go @@ -9,8 +9,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/dreamhost/dreamhost_test.go b/providers/dns/dreamhost/dreamhost_test.go index ab40ca6a..88eac009 100644 --- a/providers/dns/dreamhost/dreamhost_test.go +++ b/providers/dns/dreamhost/dreamhost_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/duckdns/client.go b/providers/dns/duckdns/client.go index b8b6513d..a3be86d9 100644 --- a/providers/dns/duckdns/client.go +++ b/providers/dns/duckdns/client.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" "github.com/miekg/dns" ) diff --git a/providers/dns/duckdns/duckdns.go b/providers/dns/duckdns/duckdns.go index 7dea6361..b684657b 100644 --- a/providers/dns/duckdns/duckdns.go +++ b/providers/dns/duckdns/duckdns.go @@ -8,8 +8,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/duckdns/duckdns_test.go b/providers/dns/duckdns/duckdns_test.go index ea8dfe73..4c9943e4 100644 --- a/providers/dns/duckdns/duckdns_test.go +++ b/providers/dns/duckdns/duckdns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dyn/dyn.go b/providers/dns/dyn/dyn.go index 71545434..9e896c5b 100644 --- a/providers/dns/dyn/dyn.go +++ b/providers/dns/dyn/dyn.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/dyn/dyn_test.go b/providers/dns/dyn/dyn_test.go index fcb1f048..53ee6f59 100644 --- a/providers/dns/dyn/dyn_test.go +++ b/providers/dns/dyn/dyn_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dynu/dynu.go b/providers/dns/dynu/dynu.go index 062c71de..5dc5cc2d 100644 --- a/providers/dns/dynu/dynu.go +++ b/providers/dns/dynu/dynu.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/dynu/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/dynu/internal" "github.com/miekg/dns" ) diff --git a/providers/dns/dynu/dynu_test.go b/providers/dns/dynu/dynu_test.go index d6ad7e41..a129dcec 100644 --- a/providers/dns/dynu/dynu_test.go +++ b/providers/dns/dynu/dynu_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/dynu/internal/client.go b/providers/dns/dynu/internal/client.go index 2da5824c..9213714a 100644 --- a/providers/dns/dynu/internal/client.go +++ b/providers/dns/dynu/internal/client.go @@ -15,7 +15,7 @@ import ( "time" "github.com/cenkalti/backoff/v4" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) const defaultBaseURL = "https://api.dynu.com/v2" diff --git a/providers/dns/easydns/easydns.go b/providers/dns/easydns/easydns.go index 9f1567cc..50a6cb5b 100644 --- a/providers/dns/easydns/easydns.go +++ b/providers/dns/easydns/easydns.go @@ -11,8 +11,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/miekg/dns" ) diff --git a/providers/dns/easydns/easydns_test.go b/providers/dns/easydns/easydns_test.go index dd8751ae..c532cc57 100644 --- a/providers/dns/easydns/easydns_test.go +++ b/providers/dns/easydns/easydns_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/edgedns/edgedns.go b/providers/dns/edgedns/edgedns.go index c663481a..3e0952cf 100644 --- a/providers/dns/edgedns/edgedns.go +++ b/providers/dns/edgedns/edgedns.go @@ -9,9 +9,9 @@ import ( configdns "github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v2" "github.com/akamai/AkamaiOPEN-edgegrid-golang/edgegrid" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/edgedns/edgedns_test.go b/providers/dns/edgedns/edgedns_test.go index 51d7dfcb..69e53083 100644 --- a/providers/dns/edgedns/edgedns_test.go +++ b/providers/dns/edgedns/edgedns_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/exec/exec.go b/providers/dns/exec/exec.go index 205fcbbb..71c5a06d 100644 --- a/providers/dns/exec/exec.go +++ b/providers/dns/exec/exec.go @@ -8,9 +8,9 @@ import ( "os/exec" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/exec/exec_test.go b/providers/dns/exec/exec_test.go index d79e4a88..619fbf86 100644 --- a/providers/dns/exec/exec_test.go +++ b/providers/dns/exec/exec_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" diff --git a/providers/dns/exoscale/exoscale.go b/providers/dns/exoscale/exoscale.go index cb5e30d5..e92259f9 100644 --- a/providers/dns/exoscale/exoscale.go +++ b/providers/dns/exoscale/exoscale.go @@ -9,8 +9,8 @@ import ( "time" "github.com/exoscale/egoscale" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const defaultBaseURL = "https://api.exoscale.com/dns" diff --git a/providers/dns/exoscale/exoscale_test.go b/providers/dns/exoscale/exoscale_test.go index 965ff42e..556837f9 100644 --- a/providers/dns/exoscale/exoscale_test.go +++ b/providers/dns/exoscale/exoscale_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/gandi/gandi.go b/providers/dns/gandi/gandi.go index 585eb7bb..3e2086e7 100644 --- a/providers/dns/gandi/gandi.go +++ b/providers/dns/gandi/gandi.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Gandi API reference: http://doc.rpc.gandi.net/index.html diff --git a/providers/dns/gandi/gandi_test.go b/providers/dns/gandi/gandi_test.go index 15a70067..705ad801 100644 --- a/providers/dns/gandi/gandi_test.go +++ b/providers/dns/gandi/gandi_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/gandiv5/client.go b/providers/dns/gandiv5/client.go index 31b13bdb..0ddbfe2a 100644 --- a/providers/dns/gandiv5/client.go +++ b/providers/dns/gandiv5/client.go @@ -8,7 +8,7 @@ import ( "io/ioutil" "net/http" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) const apiKeyHeader = "X-Api-Key" diff --git a/providers/dns/gandiv5/gandiv5.go b/providers/dns/gandiv5/gandiv5.go index accf434d..ea1650a9 100644 --- a/providers/dns/gandiv5/gandiv5.go +++ b/providers/dns/gandiv5/gandiv5.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Gandi API reference: http://doc.livedns.gandi.net/ diff --git a/providers/dns/gandiv5/gandiv5_test.go b/providers/dns/gandiv5/gandiv5_test.go index 325a4488..d5ead948 100644 --- a/providers/dns/gandiv5/gandiv5_test.go +++ b/providers/dns/gandiv5/gandiv5_test.go @@ -8,8 +8,8 @@ import ( "regexp" "testing" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/gcloud/googlecloud.go b/providers/dns/gcloud/googlecloud.go index cdc64eaa..e8940891 100644 --- a/providers/dns/gcloud/googlecloud.go +++ b/providers/dns/gcloud/googlecloud.go @@ -11,10 +11,10 @@ import ( "time" "cloud.google.com/go/compute/metadata" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/platform/wait" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/platform/wait" "golang.org/x/net/context" "golang.org/x/oauth2/google" "google.golang.org/api/dns/v1" diff --git a/providers/dns/gcloud/googlecloud_test.go b/providers/dns/gcloud/googlecloud_test.go index b14ce6db..8379e6ae 100644 --- a/providers/dns/gcloud/googlecloud_test.go +++ b/providers/dns/gcloud/googlecloud_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" "golang.org/x/net/context" "golang.org/x/oauth2/google" diff --git a/providers/dns/glesys/client.go b/providers/dns/glesys/client.go index 03c4b978..38fd466d 100644 --- a/providers/dns/glesys/client.go +++ b/providers/dns/glesys/client.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/log" ) // types for JSON method calls, parameters, and responses diff --git a/providers/dns/glesys/glesys.go b/providers/dns/glesys/glesys.go index b10ff041..953b861f 100644 --- a/providers/dns/glesys/glesys.go +++ b/providers/dns/glesys/glesys.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/glesys/glesys_test.go b/providers/dns/glesys/glesys_test.go index 2de6a11c..fd5e5bb2 100644 --- a/providers/dns/glesys/glesys_test.go +++ b/providers/dns/glesys/glesys_test.go @@ -3,7 +3,7 @@ package glesys import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/godaddy/godaddy.go b/providers/dns/godaddy/godaddy.go index 13d1a78c..a0b91d38 100644 --- a/providers/dns/godaddy/godaddy.go +++ b/providers/dns/godaddy/godaddy.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/godaddy/godaddy_test.go b/providers/dns/godaddy/godaddy_test.go index 2f41124f..8f0ce60a 100644 --- a/providers/dns/godaddy/godaddy_test.go +++ b/providers/dns/godaddy/godaddy_test.go @@ -3,7 +3,7 @@ package godaddy import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/hetzner/hetzner.go b/providers/dns/hetzner/hetzner.go index b0824a90..29549bc9 100644 --- a/providers/dns/hetzner/hetzner.go +++ b/providers/dns/hetzner/hetzner.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/hetzner/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/hetzner/internal" ) const minTTL = 600 diff --git a/providers/dns/hetzner/hetzner_test.go b/providers/dns/hetzner/hetzner_test.go index 7307d263..72f9ad63 100644 --- a/providers/dns/hetzner/hetzner_test.go +++ b/providers/dns/hetzner/hetzner_test.go @@ -3,7 +3,7 @@ package hetzner import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/hostingde/hostingde.go b/providers/dns/hostingde/hostingde.go index 3e334a80..2b672a3a 100644 --- a/providers/dns/hostingde/hostingde.go +++ b/providers/dns/hostingde/hostingde.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/hostingde/hostingde_test.go b/providers/dns/hostingde/hostingde_test.go index f48af811..e9242735 100644 --- a/providers/dns/hostingde/hostingde_test.go +++ b/providers/dns/hostingde/hostingde_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/httpreq/httpreq.go b/providers/dns/httpreq/httpreq.go index 2e91f756..887f2b84 100644 --- a/providers/dns/httpreq/httpreq.go +++ b/providers/dns/httpreq/httpreq.go @@ -12,8 +12,8 @@ import ( "path" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/httpreq/httpreq_test.go b/providers/dns/httpreq/httpreq_test.go index 11ae5dcf..184afad1 100644 --- a/providers/dns/httpreq/httpreq_test.go +++ b/providers/dns/httpreq/httpreq_test.go @@ -9,7 +9,7 @@ import ( "path" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/hyperone/hyperone.go b/providers/dns/hyperone/hyperone.go index 19e69131..cf1f2494 100644 --- a/providers/dns/hyperone/hyperone.go +++ b/providers/dns/hyperone/hyperone.go @@ -8,9 +8,9 @@ import ( "path/filepath" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/hyperone/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/hyperone/internal" ) // Environment variables names. diff --git a/providers/dns/hyperone/hyperone_test.go b/providers/dns/hyperone/hyperone_test.go index b47853fa..167ece1f 100644 --- a/providers/dns/hyperone/hyperone_test.go +++ b/providers/dns/hyperone/hyperone_test.go @@ -3,7 +3,7 @@ package hyperone import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/iij/iij.go b/providers/dns/iij/iij.go index 2a915264..b48b7933 100644 --- a/providers/dns/iij/iij.go +++ b/providers/dns/iij/iij.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/iij/doapi" "github.com/iij/doapi/protocol" ) diff --git a/providers/dns/iij/iij_test.go b/providers/dns/iij/iij_test.go index 13d46997..9c55ded3 100644 --- a/providers/dns/iij/iij_test.go +++ b/providers/dns/iij/iij_test.go @@ -3,7 +3,7 @@ package iij import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/inwx/inwx.go b/providers/dns/inwx/inwx.go index 2d05e1ef..b8afb375 100644 --- a/providers/dns/inwx/inwx.go +++ b/providers/dns/inwx/inwx.go @@ -6,9 +6,9 @@ import ( "fmt" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/nrdcg/goinwx" "github.com/pquerna/otp/totp" ) diff --git a/providers/dns/inwx/inwx_test.go b/providers/dns/inwx/inwx_test.go index e0ecefcf..e742f8ec 100644 --- a/providers/dns/inwx/inwx_test.go +++ b/providers/dns/inwx/inwx_test.go @@ -3,7 +3,7 @@ package inwx import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/joker/client.go b/providers/dns/joker/client.go index 30eca0ec..3a6e894e 100644 --- a/providers/dns/joker/client.go +++ b/providers/dns/joker/client.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" ) const defaultBaseURL = "https://dmapi.joker.com/request/" diff --git a/providers/dns/joker/joker.go b/providers/dns/joker/joker.go index 8cd5bb1e..9e786d25 100644 --- a/providers/dns/joker/joker.go +++ b/providers/dns/joker/joker.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/joker/joker_test.go b/providers/dns/joker/joker_test.go index 2e4c505b..b647c07b 100644 --- a/providers/dns/joker/joker_test.go +++ b/providers/dns/joker/joker_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/lightsail/lightsail.go b/providers/dns/lightsail/lightsail.go index 663cd08e..9cd6e8c8 100644 --- a/providers/dns/lightsail/lightsail.go +++ b/providers/dns/lightsail/lightsail.go @@ -12,8 +12,8 @@ import ( "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/lightsail" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const ( diff --git a/providers/dns/lightsail/lightsail_test.go b/providers/dns/lightsail/lightsail_test.go index 00fc0d57..1bdcd2d1 100644 --- a/providers/dns/lightsail/lightsail_test.go +++ b/providers/dns/lightsail/lightsail_test.go @@ -9,7 +9,7 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/lightsail" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/linode/linode.go b/providers/dns/linode/linode.go index df8882d7..b2c5a379 100644 --- a/providers/dns/linode/linode.go +++ b/providers/dns/linode/linode.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/linode/linodego" "golang.org/x/oauth2" ) diff --git a/providers/dns/linode/linode_test.go b/providers/dns/linode/linode_test.go index d976567e..e763a159 100644 --- a/providers/dns/linode/linode_test.go +++ b/providers/dns/linode/linode_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/linode/linodego" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/providers/dns/liquidweb/liquidweb.go b/providers/dns/liquidweb/liquidweb.go index e014e5fe..30c99ab8 100644 --- a/providers/dns/liquidweb/liquidweb.go +++ b/providers/dns/liquidweb/liquidweb.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" lw "github.com/liquidweb/liquidweb-go/client" "github.com/liquidweb/liquidweb-go/network" ) diff --git a/providers/dns/liquidweb/liquidweb_test.go b/providers/dns/liquidweb/liquidweb_test.go index 3db669dd..4dceadff 100644 --- a/providers/dns/liquidweb/liquidweb_test.go +++ b/providers/dns/liquidweb/liquidweb_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/luadns/luadns.go b/providers/dns/luadns/luadns.go index f7776af3..180a42c5 100644 --- a/providers/dns/luadns/luadns.go +++ b/providers/dns/luadns/luadns.go @@ -9,9 +9,9 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/luadns/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/luadns/internal" ) const minTTL = 300 diff --git a/providers/dns/luadns/luadns_test.go b/providers/dns/luadns/luadns_test.go index 45de0380..2374cabb 100644 --- a/providers/dns/luadns/luadns_test.go +++ b/providers/dns/luadns/luadns_test.go @@ -3,8 +3,8 @@ package luadns import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" - "github.com/go-acme/lego/v3/providers/dns/luadns/internal" + "github.com/go-acme/lego/v4/platform/tester" + "github.com/go-acme/lego/v4/providers/dns/luadns/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/mydnsjp/mydnsjp.go b/providers/dns/mydnsjp/mydnsjp.go index a7c32675..8fe42846 100644 --- a/providers/dns/mydnsjp/mydnsjp.go +++ b/providers/dns/mydnsjp/mydnsjp.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const defaultBaseURL = "https://www.mydns.jp/directedit.html" diff --git a/providers/dns/mydnsjp/mydnsjp_test.go b/providers/dns/mydnsjp/mydnsjp_test.go index c27b7d89..2532114d 100644 --- a/providers/dns/mydnsjp/mydnsjp_test.go +++ b/providers/dns/mydnsjp/mydnsjp_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/mythicbeasts/mythicbeasts.go b/providers/dns/mythicbeasts/mythicbeasts.go index 95a5e801..65d6b302 100644 --- a/providers/dns/mythicbeasts/mythicbeasts.go +++ b/providers/dns/mythicbeasts/mythicbeasts.go @@ -8,8 +8,8 @@ import ( "net/url" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/mythicbeasts/mythicbeasts_test.go b/providers/dns/mythicbeasts/mythicbeasts_test.go index e49d1d57..8862c36b 100644 --- a/providers/dns/mythicbeasts/mythicbeasts_test.go +++ b/providers/dns/mythicbeasts/mythicbeasts_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/namecheap/namecheap.go b/providers/dns/namecheap/namecheap.go index 6b529eb4..819152e4 100644 --- a/providers/dns/namecheap/namecheap.go +++ b/providers/dns/namecheap/namecheap.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" "golang.org/x/net/publicsuffix" ) diff --git a/providers/dns/namedotcom/namedotcom.go b/providers/dns/namedotcom/namedotcom.go index 7a418ed4..b7281f40 100644 --- a/providers/dns/namedotcom/namedotcom.go +++ b/providers/dns/namedotcom/namedotcom.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/namedotcom/go/namecom" ) diff --git a/providers/dns/namedotcom/namedotcom_test.go b/providers/dns/namedotcom/namedotcom_test.go index efda4e91..ecdf2fe3 100644 --- a/providers/dns/namedotcom/namedotcom_test.go +++ b/providers/dns/namedotcom/namedotcom_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/namesilo/namesilo.go b/providers/dns/namesilo/namesilo.go index 246432d7..44f86cf0 100644 --- a/providers/dns/namesilo/namesilo.go +++ b/providers/dns/namesilo/namesilo.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/nrdcg/namesilo" ) diff --git a/providers/dns/namesilo/namesilo_test.go b/providers/dns/namesilo/namesilo_test.go index 70467985..a756f454 100644 --- a/providers/dns/namesilo/namesilo_test.go +++ b/providers/dns/namesilo/namesilo_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/netcup/internal/client_test.go b/providers/dns/netcup/internal/client_test.go index eef1c1d9..490cb0e3 100644 --- a/providers/dns/netcup/internal/client_test.go +++ b/providers/dns/netcup/internal/client_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/netcup/netcup.go b/providers/dns/netcup/netcup.go index f4416dc8..bafb0153 100644 --- a/providers/dns/netcup/netcup.go +++ b/providers/dns/netcup/netcup.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/netcup/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/netcup/internal" ) // Environment variables names. diff --git a/providers/dns/netcup/netcup_test.go b/providers/dns/netcup/netcup_test.go index 8265ef9c..20279d61 100644 --- a/providers/dns/netcup/netcup_test.go +++ b/providers/dns/netcup/netcup_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/netlify/netlify.go b/providers/dns/netlify/netlify.go index a8486b25..09998f03 100644 --- a/providers/dns/netlify/netlify.go +++ b/providers/dns/netlify/netlify.go @@ -9,9 +9,9 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/netlify/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/netlify/internal" ) // Environment variables names. diff --git a/providers/dns/netlify/netlify_test.go b/providers/dns/netlify/netlify_test.go index 9652cbbe..a535cae0 100644 --- a/providers/dns/netlify/netlify_test.go +++ b/providers/dns/netlify/netlify_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/nifcloud/nifcloud.go b/providers/dns/nifcloud/nifcloud.go index c21b8e39..d66e9f46 100644 --- a/providers/dns/nifcloud/nifcloud.go +++ b/providers/dns/nifcloud/nifcloud.go @@ -7,10 +7,10 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/platform/wait" - "github.com/go-acme/lego/v3/providers/dns/nifcloud/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/platform/wait" + "github.com/go-acme/lego/v4/providers/dns/nifcloud/internal" ) // Environment variables names. diff --git a/providers/dns/nifcloud/nifcloud_test.go b/providers/dns/nifcloud/nifcloud_test.go index e5d746f6..72c0b92f 100644 --- a/providers/dns/nifcloud/nifcloud_test.go +++ b/providers/dns/nifcloud/nifcloud_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/ns1/ns1.go b/providers/dns/ns1/ns1.go index 136ba1b3..ed3c9d49 100644 --- a/providers/dns/ns1/ns1.go +++ b/providers/dns/ns1/ns1.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" "gopkg.in/ns1/ns1-go.v2/rest" "gopkg.in/ns1/ns1-go.v2/rest/model/dns" ) diff --git a/providers/dns/ns1/ns1_test.go b/providers/dns/ns1/ns1_test.go index e183b2a0..e8f1d280 100644 --- a/providers/dns/ns1/ns1_test.go +++ b/providers/dns/ns1/ns1_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/oraclecloud/configprovider.go b/providers/dns/oraclecloud/configprovider.go index f107ee18..fa78705e 100644 --- a/providers/dns/oraclecloud/configprovider.go +++ b/providers/dns/oraclecloud/configprovider.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "os" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/oracle/oci-go-sdk/common" ) diff --git a/providers/dns/oraclecloud/oraclecloud.go b/providers/dns/oraclecloud/oraclecloud.go index 7cf7946f..19c74e20 100644 --- a/providers/dns/oraclecloud/oraclecloud.go +++ b/providers/dns/oraclecloud/oraclecloud.go @@ -8,8 +8,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/oracle/oci-go-sdk/common" "github.com/oracle/oci-go-sdk/dns" ) diff --git a/providers/dns/oraclecloud/oraclecloud_test.go b/providers/dns/oraclecloud/oraclecloud_test.go index 494465c9..1f94fb61 100644 --- a/providers/dns/oraclecloud/oraclecloud_test.go +++ b/providers/dns/oraclecloud/oraclecloud_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/oracle/oci-go-sdk/common" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/otc/otc.go b/providers/dns/otc/otc.go index 0d139b06..43d5378b 100644 --- a/providers/dns/otc/otc.go +++ b/providers/dns/otc/otc.go @@ -8,8 +8,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) const defaultIdentityEndpoint = "https://iam.eu-de.otc.t-systems.com:443/v3/auth/tokens" diff --git a/providers/dns/otc/otc_test.go b/providers/dns/otc/otc_test.go index 9540abb3..03e02c81 100644 --- a/providers/dns/otc/otc_test.go +++ b/providers/dns/otc/otc_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/suite" ) diff --git a/providers/dns/ovh/ovh.go b/providers/dns/ovh/ovh.go index 37bc27f9..f1aaf869 100644 --- a/providers/dns/ovh/ovh.go +++ b/providers/dns/ovh/ovh.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/ovh/go-ovh/ovh" ) diff --git a/providers/dns/ovh/ovh_test.go b/providers/dns/ovh/ovh_test.go index ba74a317..4586edcd 100644 --- a/providers/dns/ovh/ovh_test.go +++ b/providers/dns/ovh/ovh_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/pdns/client.go b/providers/dns/pdns/client.go index ff47b301..b2258df2 100644 --- a/providers/dns/pdns/client.go +++ b/providers/dns/pdns/client.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) type Record struct { diff --git a/providers/dns/pdns/pdns.go b/providers/dns/pdns/pdns.go index 039db8ce..a95149d2 100644 --- a/providers/dns/pdns/pdns.go +++ b/providers/dns/pdns/pdns.go @@ -10,9 +10,9 @@ import ( "net/url" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/pdns/pdns_test.go b/providers/dns/pdns/pdns_test.go index 6d0356fa..6af2ad29 100644 --- a/providers/dns/pdns/pdns_test.go +++ b/providers/dns/pdns/pdns_test.go @@ -4,7 +4,7 @@ import ( "net/url" "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/rackspace/client.go b/providers/dns/rackspace/client.go index 0bf4a364..9433774c 100644 --- a/providers/dns/rackspace/client.go +++ b/providers/dns/rackspace/client.go @@ -7,7 +7,7 @@ import ( "io" "net/http" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" ) // APIKeyCredentials API credential. diff --git a/providers/dns/rackspace/rackspace.go b/providers/dns/rackspace/rackspace.go index f94a09ee..82af97d7 100644 --- a/providers/dns/rackspace/rackspace.go +++ b/providers/dns/rackspace/rackspace.go @@ -9,8 +9,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // defaultBaseURL represents the Identity API endpoint to call. diff --git a/providers/dns/rackspace/rackspace_test.go b/providers/dns/rackspace/rackspace_test.go index d804caad..27ff0a59 100644 --- a/providers/dns/rackspace/rackspace_test.go +++ b/providers/dns/rackspace/rackspace_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/regru/regru.go b/providers/dns/regru/regru.go index bb0a1f4f..318d3893 100644 --- a/providers/dns/regru/regru.go +++ b/providers/dns/regru/regru.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/regru/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/regru/internal" ) // Environment variables names. diff --git a/providers/dns/regru/regru_test.go b/providers/dns/regru/regru_test.go index 3f486796..29a2b221 100644 --- a/providers/dns/regru/regru_test.go +++ b/providers/dns/regru/regru_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/rfc2136/rfc2136.go b/providers/dns/rfc2136/rfc2136.go index 059c9e43..a13c9289 100644 --- a/providers/dns/rfc2136/rfc2136.go +++ b/providers/dns/rfc2136/rfc2136.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/miekg/dns" ) diff --git a/providers/dns/rfc2136/rfc2136_test.go b/providers/dns/rfc2136/rfc2136_test.go index 61b6aa4c..fd0647d9 100644 --- a/providers/dns/rfc2136/rfc2136_test.go +++ b/providers/dns/rfc2136/rfc2136_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" "github.com/miekg/dns" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/providers/dns/rimuhosting/rimuhosting.go b/providers/dns/rimuhosting/rimuhosting.go index 9d81adfb..28542b97 100644 --- a/providers/dns/rimuhosting/rimuhosting.go +++ b/providers/dns/rimuhosting/rimuhosting.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/internal/rimuhosting" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/internal/rimuhosting" ) // Environment variables names. diff --git a/providers/dns/rimuhosting/rimuhosting_test.go b/providers/dns/rimuhosting/rimuhosting_test.go index e911786a..64db164b 100644 --- a/providers/dns/rimuhosting/rimuhosting_test.go +++ b/providers/dns/rimuhosting/rimuhosting_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/route53/route53.go b/providers/dns/route53/route53.go index 15630f5f..723f80e3 100644 --- a/providers/dns/route53/route53.go +++ b/providers/dns/route53/route53.go @@ -13,9 +13,9 @@ import ( "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/route53" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/platform/wait" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/platform/wait" ) // Environment variables names. diff --git a/providers/dns/route53/route53_test.go b/providers/dns/route53/route53_test.go index c315fb3c..ac963f3b 100644 --- a/providers/dns/route53/route53_test.go +++ b/providers/dns/route53/route53_test.go @@ -10,7 +10,7 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/route53" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/sakuracloud/client.go b/providers/dns/sakuracloud/client.go index 88976913..b9b6d4be 100644 --- a/providers/dns/sakuracloud/client.go +++ b/providers/dns/sakuracloud/client.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" "github.com/sacloud/libsacloud/api" "github.com/sacloud/libsacloud/sacloud" ) diff --git a/providers/dns/sakuracloud/sakuracloud.go b/providers/dns/sakuracloud/sakuracloud.go index 1770ba47..45f18afe 100644 --- a/providers/dns/sakuracloud/sakuracloud.go +++ b/providers/dns/sakuracloud/sakuracloud.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/sacloud/libsacloud/api" ) diff --git a/providers/dns/sakuracloud/sakuracloud_test.go b/providers/dns/sakuracloud/sakuracloud_test.go index fe32876c..693f7c5c 100644 --- a/providers/dns/sakuracloud/sakuracloud_test.go +++ b/providers/dns/sakuracloud/sakuracloud_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/scaleway/scaleway.go b/providers/dns/scaleway/scaleway.go index 21076d41..08ffd7da 100644 --- a/providers/dns/scaleway/scaleway.go +++ b/providers/dns/scaleway/scaleway.go @@ -9,9 +9,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/scaleway/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/scaleway/internal" ) const ( diff --git a/providers/dns/scaleway/scaleway_test.go b/providers/dns/scaleway/scaleway_test.go index 288f9316..1016471c 100644 --- a/providers/dns/scaleway/scaleway_test.go +++ b/providers/dns/scaleway/scaleway_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/selectel/selectel.go b/providers/dns/selectel/selectel.go index d219ae8d..01b2bb52 100644 --- a/providers/dns/selectel/selectel.go +++ b/providers/dns/selectel/selectel.go @@ -9,9 +9,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/internal/selectel" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/internal/selectel" ) const minTTL = 60 diff --git a/providers/dns/selectel/selectel_test.go b/providers/dns/selectel/selectel_test.go index 50d3ed40..9b86160c 100644 --- a/providers/dns/selectel/selectel_test.go +++ b/providers/dns/selectel/selectel_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/servercow/servercow.go b/providers/dns/servercow/servercow.go index 9a79ec0d..c62f4258 100644 --- a/providers/dns/servercow/servercow.go +++ b/providers/dns/servercow/servercow.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/servercow/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/servercow/internal" ) const defaultTTL = 120 diff --git a/providers/dns/servercow/servercow_test.go b/providers/dns/servercow/servercow_test.go index b4f00647..4ecf6735 100644 --- a/providers/dns/servercow/servercow_test.go +++ b/providers/dns/servercow/servercow_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/stackpath/client.go b/providers/dns/stackpath/client.go index 88680e2e..9759fa03 100644 --- a/providers/dns/stackpath/client.go +++ b/providers/dns/stackpath/client.go @@ -9,7 +9,7 @@ import ( "net/http" "path" - "github.com/go-acme/lego/v3/challenge/dns01" + "github.com/go-acme/lego/v4/challenge/dns01" "golang.org/x/net/publicsuffix" ) diff --git a/providers/dns/stackpath/stackpath.go b/providers/dns/stackpath/stackpath.go index 8caa20e2..aba40ff7 100644 --- a/providers/dns/stackpath/stackpath.go +++ b/providers/dns/stackpath/stackpath.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/config/env" "golang.org/x/oauth2/clientcredentials" ) diff --git a/providers/dns/stackpath/stackpath_test.go b/providers/dns/stackpath/stackpath_test.go index e1562483..861301d9 100644 --- a/providers/dns/stackpath/stackpath_test.go +++ b/providers/dns/stackpath/stackpath_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/transip/transip.go b/providers/dns/transip/transip.go index 13a3a59d..99a35045 100644 --- a/providers/dns/transip/transip.go +++ b/providers/dns/transip/transip.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/transip/gotransip/v6" transipdomain "github.com/transip/gotransip/v6/domain" ) diff --git a/providers/dns/transip/transip_test.go b/providers/dns/transip/transip_test.go index 95ce193f..b61277a0 100644 --- a/providers/dns/transip/transip_test.go +++ b/providers/dns/transip/transip_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/transip/gotransip/v6/domain" diff --git a/providers/dns/vegadns/vegadns.go b/providers/dns/vegadns/vegadns.go index c55ec72f..9b91f115 100644 --- a/providers/dns/vegadns/vegadns.go +++ b/providers/dns/vegadns/vegadns.go @@ -8,8 +8,8 @@ import ( "time" vegaClient "github.com/OpenDNS/vegadns2client" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/vegadns/vegadns_test.go b/providers/dns/vegadns/vegadns_test.go index f22c0afd..291f7f2d 100644 --- a/providers/dns/vegadns/vegadns_test.go +++ b/providers/dns/vegadns/vegadns_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/versio/versio.go b/providers/dns/versio/versio.go index 938d86da..33ca43ce 100644 --- a/providers/dns/versio/versio.go +++ b/providers/dns/versio/versio.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/versio/versio_test.go b/providers/dns/versio/versio_test.go index 6d238d8f..e7b116e3 100644 --- a/providers/dns/versio/versio_test.go +++ b/providers/dns/versio/versio_test.go @@ -6,8 +6,8 @@ import ( "net/http/httptest" "testing" - "github.com/go-acme/lego/v3/log" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/log" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/vscale/vscale.go b/providers/dns/vscale/vscale.go index 792ce871..95809b9d 100644 --- a/providers/dns/vscale/vscale.go +++ b/providers/dns/vscale/vscale.go @@ -9,9 +9,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/internal/selectel" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/internal/selectel" ) const minTTL = 60 diff --git a/providers/dns/vscale/vscale_test.go b/providers/dns/vscale/vscale_test.go index 801cbe0d..57c847ad 100644 --- a/providers/dns/vscale/vscale_test.go +++ b/providers/dns/vscale/vscale_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/vultr/vultr.go b/providers/dns/vultr/vultr.go index 811d27af..e2f6cc3a 100644 --- a/providers/dns/vultr/vultr.go +++ b/providers/dns/vultr/vultr.go @@ -12,8 +12,8 @@ import ( "strings" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" "github.com/vultr/govultr" ) diff --git a/providers/dns/vultr/vultr_test.go b/providers/dns/vultr/vultr_test.go index 7104d129..0144758e 100644 --- a/providers/dns/vultr/vultr_test.go +++ b/providers/dns/vultr/vultr_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/yandex/yandex.go b/providers/dns/yandex/yandex.go index 9c95f3b9..781895d1 100644 --- a/providers/dns/yandex/yandex.go +++ b/providers/dns/yandex/yandex.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/yandex/internal" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/yandex/internal" "github.com/miekg/dns" ) diff --git a/providers/dns/yandex/yandex_test.go b/providers/dns/yandex/yandex_test.go index ac31f15f..7b607a22 100644 --- a/providers/dns/yandex/yandex_test.go +++ b/providers/dns/yandex/yandex_test.go @@ -3,7 +3,7 @@ package yandex import ( "testing" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/zoneee/zoneee.go b/providers/dns/zoneee/zoneee.go index 9079aeaf..a8d29f41 100644 --- a/providers/dns/zoneee/zoneee.go +++ b/providers/dns/zoneee/zoneee.go @@ -8,8 +8,8 @@ import ( "net/url" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" ) // Environment variables names. diff --git a/providers/dns/zoneee/zoneee_test.go b/providers/dns/zoneee/zoneee_test.go index 6cb06461..f7414f01 100644 --- a/providers/dns/zoneee/zoneee_test.go +++ b/providers/dns/zoneee/zoneee_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/dns/zonomi/zonomi.go b/providers/dns/zonomi/zonomi.go index 57d9f2a2..a5cf8ce3 100644 --- a/providers/dns/zonomi/zonomi.go +++ b/providers/dns/zonomi/zonomi.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/go-acme/lego/v3/challenge/dns01" - "github.com/go-acme/lego/v3/platform/config/env" - "github.com/go-acme/lego/v3/providers/dns/internal/rimuhosting" + "github.com/go-acme/lego/v4/challenge/dns01" + "github.com/go-acme/lego/v4/platform/config/env" + "github.com/go-acme/lego/v4/providers/dns/internal/rimuhosting" ) // Environment variables names. diff --git a/providers/dns/zonomi/zonomi_test.go b/providers/dns/zonomi/zonomi_test.go index a77c853e..0c2d65c3 100644 --- a/providers/dns/zonomi/zonomi_test.go +++ b/providers/dns/zonomi/zonomi_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/require" ) diff --git a/providers/http/memcached/memcached.go b/providers/http/memcached/memcached.go index 09b448df..0823373a 100644 --- a/providers/http/memcached/memcached.go +++ b/providers/http/memcached/memcached.go @@ -7,7 +7,7 @@ import ( "fmt" "path" - "github.com/go-acme/lego/v3/challenge/http01" + "github.com/go-acme/lego/v4/challenge/http01" "github.com/rainycape/memcache" ) diff --git a/providers/http/memcached/memcached_test.go b/providers/http/memcached/memcached_test.go index 7791bf5d..fda05ce9 100644 --- a/providers/http/memcached/memcached_test.go +++ b/providers/http/memcached/memcached_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/go-acme/lego/v3/challenge/http01" + "github.com/go-acme/lego/v4/challenge/http01" "github.com/rainycape/memcache" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/providers/http/webroot/webroot.go b/providers/http/webroot/webroot.go index 6831bd1a..c9e4fed7 100644 --- a/providers/http/webroot/webroot.go +++ b/providers/http/webroot/webroot.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/go-acme/lego/v3/challenge/http01" + "github.com/go-acme/lego/v4/challenge/http01" ) // HTTPProvider implements ChallengeProvider for `http-01` challenge. diff --git a/registration/registar.go b/registration/registar.go index 67d5100f..6bc0e6b0 100644 --- a/registration/registar.go +++ b/registration/registar.go @@ -4,9 +4,9 @@ import ( "errors" "net/http" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/log" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/log" ) // Resource represents all important information about a registration diff --git a/registration/registar_test.go b/registration/registar_test.go index 531ccebc..a5f3e607 100644 --- a/registration/registar_test.go +++ b/registration/registar_test.go @@ -6,9 +6,9 @@ import ( "net/http" "testing" - "github.com/go-acme/lego/v3/acme" - "github.com/go-acme/lego/v3/acme/api" - "github.com/go-acme/lego/v3/platform/tester" + "github.com/go-acme/lego/v4/acme" + "github.com/go-acme/lego/v4/acme/api" + "github.com/go-acme/lego/v4/platform/tester" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )