From 37f34d0f5920fca75cd303009396ceb1eefaad90 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 30 Nov 2024 19:32:28 +0100 Subject: fork certmagic --- go.mod | 3 ++- go.sum | 2 ++ internal/server/tls.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 7a56695..ca9042a 100644 --- a/go.mod +++ b/go.mod @@ -7,13 +7,13 @@ require ( github.com/PuerkitoBio/goquery v1.9.2 github.com/a-h/templ v0.2.793 github.com/adrg/frontmatter v0.2.0 + github.com/alanpearce/certmagic v0.21.5-0.20241130182838-e007f0b42ab3 github.com/alanpearce/certmagic-storage-redis v1.5.0 github.com/andybalholm/brotli v1.1.0 github.com/antchfx/xmlquery v1.4.1 github.com/antchfx/xpath v1.3.1 github.com/ardanlabs/conf/v3 v3.1.7 github.com/benpate/digit v0.12.1 - github.com/caddyserver/certmagic v0.21.4 github.com/crewjam/csp v0.0.2 github.com/deckarep/golang-set/v2 v2.6.0 github.com/fatih/structtag v1.2.0 @@ -42,6 +42,7 @@ require ( github.com/benpate/remote v0.16.0 // indirect github.com/benpate/rosetta v0.21.2 // indirect github.com/bsm/redislock v0.9.4 // indirect + github.com/caddyserver/certmagic v0.21.4 // indirect github.com/caddyserver/zerossl v0.1.3 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cloudflare/circl v1.3.9 // indirect diff --git a/go.sum b/go.sum index 1b64d01..c85a4b8 100644 --- a/go.sum +++ b/go.sum @@ -16,6 +16,8 @@ github.com/a-h/templ v0.2.793 h1:Io+/ocnfGWYO4VHdR0zBbf39PQlnzVCVVD+wEEs6/qY= github.com/a-h/templ v0.2.793/go.mod h1:lq48JXoUvuQrU0VThrK31yFwdRjTCnIE5bcPCM9IP1w= github.com/adrg/frontmatter v0.2.0 h1:/DgnNe82o03riBd1S+ZDjd43wAmC6W35q67NHeLkPd4= github.com/adrg/frontmatter v0.2.0/go.mod h1:93rQCj3z3ZlwyxxpQioRKC1wDLto4aXHrbqIsnH9wmE= +github.com/alanpearce/certmagic v0.21.5-0.20241130182838-e007f0b42ab3 h1:vENptckTplU8SLMSb4OJQXd2lho4YAY4zVp3J0drzfw= +github.com/alanpearce/certmagic v0.21.5-0.20241130182838-e007f0b42ab3/go.mod h1:DyLSMKw5IvmPRa6Tbv7z9NAr0A+IQDlYGVsGIDCwzdA= github.com/alanpearce/certmagic-storage-redis v1.5.0 h1:HtNC1g+40PqCvU5jo2MvyfifrT/NM9qytgpfAeaY7xg= github.com/alanpearce/certmagic-storage-redis v1.5.0/go.mod h1:FAb8F6rXmFjj2kubx4/eW2k3yeVBMH96a0fvzpEJqfw= github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= diff --git a/internal/server/tls.go b/internal/server/tls.go index b299b0b..56c2215 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -10,9 +10,9 @@ import ( "go.alanpearce.eu/x/listenfd" + "github.com/alanpearce/certmagic" certmagic_redis "github.com/alanpearce/certmagic-storage-redis" "github.com/ardanlabs/conf/v3" - "github.com/caddyserver/certmagic" "github.com/libdns/powerdns" "gitlab.com/tozd/go/errors" ) -- cgit 1.4.1