diff --git a/config.go b/config.go index c79477d..deb5314 100644 --- a/config.go +++ b/config.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/kilo666mj/gatekit/controlplane" + "go.michaelspost.com/gatekit/controlplane" "os" ) diff --git a/correlate_test.go b/correlate_test.go index 4bba777..5e203b7 100644 --- a/correlate_test.go +++ b/correlate_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/store" ) const testFP = "aaf62b02afeaa8df0687aa49b07825f8" diff --git a/doctor.go b/doctor.go index 591cc4e..81d9484 100644 --- a/doctor.go +++ b/doctor.go @@ -6,7 +6,7 @@ import ( "io" "os" - gateproxy "github.com/kilo666mj/gatekit/proxy" + gateproxy "go.michaelspost.com/gatekit/proxy" ) func cmdDoctor(args []string) { diff --git a/go.mod b/go.mod index cbf7df4..5a16bc4 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module sshgate go 1.27.1 require ( - github.com/kilo666mj/gatekit v0.5.0 github.com/prometheus/client_golang v1.24.1 - modernc.org/sqlite v1.58.0 + go.michaelspost.com/gatekit v0.7.0 + modernc.org/sqlite v1.59.0 ) require ( @@ -23,7 +23,7 @@ require ( github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect golang.org/x/sys v0.47.0 // indirect google.golang.org/protobuf v1.36.11 // indirect - modernc.org/libc v1.75.6 // indirect + modernc.org/libc v1.75.7 // indirect modernc.org/mathutil v1.7.1 // indirect modernc.org/memory v1.12.1 // indirect ) diff --git a/go.sum b/go.sum index 9476847..1a6c814 100644 --- a/go.sum +++ b/go.sum @@ -16,8 +16,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= -github.com/kilo666mj/gatekit v0.5.0 h1:/412APadaa/lbwIIJMLUDL/Qr+aurYXzL8/iO9d0GEU= -github.com/kilo666mj/gatekit v0.5.0/go.mod h1:bhrFINYRPxUQ6zzJcII/3ZZgN2wXhudaEl3PCssIE1Y= github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk= github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= @@ -42,6 +40,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94 github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +go.michaelspost.com/gatekit v0.7.0 h1:/FV6dEbvil/Gx1KOgr/WvCt9PlctbDjAoNoyk61PkeE= +go.michaelspost.com/gatekit v0.7.0/go.mod h1:10IdUg8C5NVI5HRoNNsKSv6MAoBaEksnwP9oXUodAEo= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= @@ -71,8 +71,8 @@ modernc.org/gc/v3 v3.1.5 h1:21ldfPfRYE31Tb7B3mwAK8gy1AxP4+dKjrOQPfqakoc= modernc.org/gc/v3 v3.1.5/go.mod h1:HFK/6AGESC7Ex+EZJhJ2Gni6cTaYpSMmU/cT9RmlfYY= modernc.org/goabi0 v0.2.0 h1:HvEowk7LxcPd0eq6mVOAEMai46V+i7Jrj13t4AzuNks= modernc.org/goabi0 v0.2.0/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI= -modernc.org/libc v1.75.6 h1:yKk8qo+Di4gkmvRboK8ocCqH22FiUCR6jRy2OwtCRus= -modernc.org/libc v1.75.6/go.mod h1:bO5o2ztHxBb2rjz0PgdHN0sSMw57CgxGFLZ3Qd/QpVQ= +modernc.org/libc v1.75.7 h1:o3DTP9/0p9pKmY2WCKQaySW6wIiZhNM7wc2lUoyhfew= +modernc.org/libc v1.75.7/go.mod h1:bO5o2ztHxBb2rjz0PgdHN0sSMw57CgxGFLZ3Qd/QpVQ= modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU= modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg= modernc.org/memory v1.12.1 h1:nFMiWrpStgZczNl6XI9GnIk/rWhYIyHGUaR04pGbp9g= @@ -81,8 +81,8 @@ modernc.org/opt v0.2.0 h1:tGyef5ApycA7FSEOMraay9SaTk5zmbx7Tu+cJs4QKZg= modernc.org/opt v0.2.0/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns= modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w= modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE= -modernc.org/sqlite v1.58.0 h1:38u40/bwkfM7f0Myhosl+SEMltSDxnGdQf8o6Kjmys0= -modernc.org/sqlite v1.58.0/go.mod h1:rsD2CckafgObKC4DhBlGBf+RiHxkc3hINGt1Xw32tVY= +modernc.org/sqlite v1.59.0 h1:X1es1GpqBlS/5T+vbM4HLUdaa8OtQx468DF2vrx+38A= +modernc.org/sqlite v1.59.0/go.mod h1:+paeT2A3iPRHkQDwG7oA6Tk0zQd5woMEI8q7orfry8k= modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0= modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= diff --git a/main.go b/main.go index af9c45f..76e3664 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ import ( "text/tabwriter" "unicode" - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/store" ) const ( diff --git a/main_test.go b/main_test.go index 1bc9bef..56446bc 100644 --- a/main_test.go +++ b/main_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/store" ) // Re-approving a labelled fingerprint without repeating --label used to blank diff --git a/proxy.go b/proxy.go index 1c072cf..167cabd 100644 --- a/proxy.go +++ b/proxy.go @@ -12,12 +12,12 @@ import ( "sync" "time" - "github.com/kilo666mj/gatekit/controlplane" - "github.com/kilo666mj/gatekit/lifecycle" - gateproxy "github.com/kilo666mj/gatekit/proxy" - "github.com/kilo666mj/gatekit/ratelimit" - "github.com/kilo666mj/gatekit/sdnotify" - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/controlplane" + "go.michaelspost.com/gatekit/lifecycle" + gateproxy "go.michaelspost.com/gatekit/proxy" + "go.michaelspost.com/gatekit/ratelimit" + "go.michaelspost.com/gatekit/sdnotify" + "go.michaelspost.com/gatekit/store" ) const ( diff --git a/proxy_test.go b/proxy_test.go index 43b63be..1e9a4a2 100644 --- a/proxy_test.go +++ b/proxy_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - gateproxy "github.com/kilo666mj/gatekit/proxy" + gateproxy "go.michaelspost.com/gatekit/proxy" ) func testBanner(id string) *backendBanner { diff --git a/store.go b/store.go index fec9862..8d08d9b 100644 --- a/store.go +++ b/store.go @@ -1,7 +1,7 @@ package main import ( - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/store" ) // The fingerprint store itself lives in gatekit, shared with tlsgate. What diff --git a/store_test.go b/store_test.go index d321156..9c1480b 100644 --- a/store_test.go +++ b/store_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "github.com/kilo666mj/gatekit/store" + "go.michaelspost.com/gatekit/store" // Seeding a legacy schema opens SQLite directly rather than through // gatekit, so register the driver here instead of relying on gatekit's