From 764373b86c48cca12ddaf9a2d154fa752d457c75 Mon Sep 17 00:00:00 2001 From: Quick104 <31828688+Quick104@users.noreply.github.com> Date: Fri, 13 Nov 2026 16:48:20 -0500 Subject: [PATCH] deps: bump tailscale.com to 1.104.7 and Go to 1.27.4 govulncheck fails on GO-2026-6865 in klauspost/compress v1.20.0 and GO-2026-6859 in net/http from Go 1.27.3, so this moves compress to v1.20.4, Go to 1.27.4 and Tailscale to its latest stable release, which itself requires Go 1.27.4. The reviewed-toolchain pin in dist.py, its test and the development docs now name go1.27.4, whose LICENSE is identical to go1.26.7's. Co-Authored-By: Claude Opus 5.5 --- docs/DEVELOPMENT.md | 2 +- go.mod | 10 +++++----- go.sum | 16 ++++++++-------- scripts/dist.py | 4 ++-- scripts/test_build.py | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 3854c00..d9d82e2 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -9,7 +9,7 @@ The server PR is still a prerequisite until merged and released. ## Build and verify -Requires Go 1.26.7 or later, Python 3.9 or later, and Make. CI uses Go 1.26.7 +Requires Go 1.27.4 or later, Python 3.9 or later, and Make. CI uses Go 1.27.4 and Python 3.13. Run from this repository: ```sh diff --git a/go.mod b/go.mod index 5a3f325..6479552 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Silo-Community/silo-plugin-tailscale -go 1.27.3 +go 1.27.4 require ( github.com/Silo-Server/silo-plugin-sdk v0.23.0 @@ -8,7 +8,7 @@ require ( github.com/hashicorp/go-plugin v1.7.0 google.golang.org/grpc v1.83.2 google.golang.org/protobuf v1.36.12 - tailscale.com v1.104.2 + tailscale.com v1.104.7 ) require ( @@ -67,7 +67,7 @@ require ( github.com/jellydator/ttlcache/v3 v3.4.1 // indirect github.com/jsimonetti/rtnetlink v1.4.2 // indirect github.com/kamstrup/intmap v0.5.2 // indirect - github.com/klauspost/compress v1.20.0 // indirect + github.com/klauspost/compress v1.20.4 // indirect github.com/kortschak/wol v0.0.0-20200729010619-da482cc4850a // indirect github.com/kr/fs v0.1.0 // indirect github.com/mattn/go-colorable v0.1.15 // indirect @@ -83,14 +83,14 @@ require ( github.com/pkg/sftp v1.13.11 // indirect github.com/safchain/ethtool v0.7.0 // indirect github.com/tailscale/certstore v0.1.1-0.20260409135935-3638fb84b77d // indirect - github.com/tailscale/gliderssh v0.3.4-0.20260716005906-1a0f895faf28 // indirect + github.com/tailscale/gliderssh v0.3.4-0.20261026144310-31f7cf365d3a // indirect github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55 // indirect github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f // indirect github.com/tailscale/netlink v1.1.1-0.20240822203006-4d49adab4de7 // indirect github.com/tailscale/peercred v0.0.0-20250107143737-35a0c7bd7edc // indirect github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea // indirect github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6 // indirect - github.com/tailscale/wireguard-go v0.0.0-20260928213032-417aef361226 // indirect + github.com/tailscale/wireguard-go v0.0.0-20261106233718-9e0ab45c16ca // indirect github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e // indirect github.com/u-root/u-root v0.16.0 // indirect github.com/u-root/uio v0.0.0-20240224005618-d2acac8f3701 // indirect diff --git a/go.sum b/go.sum index 6aa009f..d2042ad 100644 --- a/go.sum +++ b/go.sum @@ -149,8 +149,8 @@ github.com/kamstrup/intmap v0.5.2 h1:qnwBm1mh4XAnW9W9Ue9tZtTff8pS6+s6iKF6JRIV2Dk github.com/kamstrup/intmap v0.5.2/go.mod h1:gWUVWHKzWj8xpJVFf5GC0O26bWmv3GqdnIX/LMT6Aq4= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/klauspost/compress v1.20.0 h1:a3C1ke2ohxFymNlb2HWAHjDeKCI90scRskErZkR0ezA= -github.com/klauspost/compress v1.20.0/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= +github.com/klauspost/compress v1.20.4 h1:dD0v/bvxtjCBqQu6sx1TNWkalEY5lNTIe+HY9w8TeNI= +github.com/klauspost/compress v1.20.4/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/kortschak/wol v0.0.0-20200729010619-da482cc4850a h1:+RR6SqnTkDLWyICxS1xpjCi/3dhyV+TgZwA6Ww3KncQ= github.com/kortschak/wol v0.0.0-20200729010619-da482cc4850a/go.mod h1:YTtCCM3ryyfiu4F7t8HQ1mxvp1UBdWM2r6Xa+nGWvDk= github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= @@ -208,8 +208,8 @@ github.com/studio-b12/gowebdav v0.13.0 h1:OcwSg6IQHOFNdYHn3bPOHwSE8looG8N56Y5xTT github.com/studio-b12/gowebdav v0.13.0/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE= github.com/tailscale/certstore v0.1.1-0.20260409135935-3638fb84b77d h1:JcGKBZAL7ePLwOhUdN8qGQZlP5GueEiIZwY7R62pejE= github.com/tailscale/certstore v0.1.1-0.20260409135935-3638fb84b77d/go.mod h1:XrBNfAFN+pwoWuksbFS9Ccxnopa15zJGgXRFN90l3K4= -github.com/tailscale/gliderssh v0.3.4-0.20260716005906-1a0f895faf28 h1:Azz5ILxxVsHN/KjIu3wkJPAmmtiijucZw4Ax5Ye8n+s= -github.com/tailscale/gliderssh v0.3.4-0.20260716005906-1a0f895faf28/go.mod h1:wn16Km1EZOX4UEAyaZa3dBwfFGOJ7neck40NcwosJUw= +github.com/tailscale/gliderssh v0.3.4-0.20261026144310-31f7cf365d3a h1:LQfS++EBVN2Bk9/FbFjJmdP/CsebU0OupOX58tO4p04= +github.com/tailscale/gliderssh v0.3.4-0.20261026144310-31f7cf365d3a/go.mod h1:wn16Km1EZOX4UEAyaZa3dBwfFGOJ7neck40NcwosJUw= github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55 h1:Gzfnfk2TWrk8Jj4P4c1a3CtQyMaTVCznlkLZI++hok4= github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55/go.mod h1:4k4QO+dQ3R5FofL+SanAUZe+/QfeK0+OIuwDIRu2vSg= github.com/tailscale/golang-x-crypto v0.0.0-20260720160339-c86ca1284b96 h1:m9EAsCu/afUkg9YkknXaRqMPl/omkUNRol5yB7hbG0Y= @@ -224,8 +224,8 @@ github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea h1:a github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea/go.mod h1:agQPE6y6ldqCOui2gkIh7ZMztTkIQKH049tv8siLuNQ= github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6 h1:l10Gi6w9jxvinoiq15g8OToDdASBni4CyJOdHY1Hr8M= github.com/tailscale/wf v0.0.0-20240214030419-6fbb0a674ee6/go.mod h1:ZXRML051h7o4OcI0d3AaILDIad/Xw0IkXaHM17dic1Y= -github.com/tailscale/wireguard-go v0.0.0-20260928213032-417aef361226 h1:v3Lpj2iHPWQDqeCwemQPz4fWweIEMLqBkwJqCjRyJQc= -github.com/tailscale/wireguard-go v0.0.0-20260928213032-417aef361226/go.mod h1:rUelGmuK4UnSJYM5gl5Mknp6YbwwcL8+VAPMhNYe+jg= +github.com/tailscale/wireguard-go v0.0.0-20261106233718-9e0ab45c16ca h1:m34ObTyPjPiDaSFWeMk7FBQR8my9wpT98t1EXp5c5X0= +github.com/tailscale/wireguard-go v0.0.0-20261106233718-9e0ab45c16ca/go.mod h1:rUelGmuK4UnSJYM5gl5Mknp6YbwwcL8+VAPMhNYe+jg= github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e h1:zOGKqN5D5hHhiYUp091JqK7DPCqSARyUfduhGUY8Bek= github.com/tailscale/xnet v0.0.0-20240729143630-8497ac4dab2e/go.mod h1:orPd6JZXXRyuDusYilywte7k094d7dycXXU5YnWsrwg= github.com/tc-hib/winres v0.3.1 h1:CwRjEGrKdbi5CvZ4ID+iyVhgyfatxFoizjPhzez9Io4= @@ -323,5 +323,5 @@ howett.net/plist v1.0.0 h1:7CrbWYbPPO/PyNy38b2EB/+gYbjCe2DXBxgtOOZbSQM= howett.net/plist v1.0.0/go.mod h1:lqaXoTrLY4hg8tnEzNru53gicrbv7rrk+2xJA/7hw9g= software.sslmate.com/src/go-pkcs12 v0.7.3 h1:JBQD3FDqYjTeyDAeZQklj2ar88ykBLtALloPJHyAauU= software.sslmate.com/src/go-pkcs12 v0.7.3/go.mod h1:Qiz0EyvDRJjjxGyUQa2cCNZn/wMyzrRJ/qcDXOQazLI= -tailscale.com v1.104.2 h1:zBbSW0tI4Xi2PhrZEl9yt6oWay3l8A+M8scsTnZpyAk= -tailscale.com v1.104.2/go.mod h1:D+gqEyJjFnwIaojBLaKxUbOfEO3cRXOaFaOZ5BIvYqs= +tailscale.com v1.104.7 h1:YqImcXyNIe25x7Qwei8PgbtkjFd3pKed9cFY0Flkitc= +tailscale.com v1.104.7/go.mod h1:pNl682NgUoac2/Um3khv8pduX3D1YPBZTL067+zo8wY= diff --git a/scripts/dist.py b/scripts/dist.py index c2488db..8bed508 100644 --- a/scripts/dist.py +++ b/scripts/dist.py @@ -41,8 +41,8 @@ def notices(root, environment): license_path = Path(toolchain["GOROOT"]) / "LICENSE" if not license_path.is_file(): # Nix omits GOROOT/LICENSE. Keep this official fallback pinned to the - # reviewed toolchain: https://github.com/golang/go/blob/go1.26.7/LICENSE - if toolchain["GOVERSION"] != "go1.26.7": + # reviewed toolchain: https://github.com/golang/go/blob/go1.27.4/LICENSE + if toolchain["GOVERSION"] != "go1.27.4": raise ValueError("Go toolchain has no LICENSE; update the bundled license for this version") license_path = root / "scripts" / "GO_LICENSE.txt" go_license = license_path.read_text(encoding="utf-8") diff --git a/scripts/test_build.py b/scripts/test_build.py index 96bea9b..9ea36c3 100644 --- a/scripts/test_build.py +++ b/scripts/test_build.py @@ -85,7 +85,7 @@ def test_notices_include_go_license_when_toolchain_omits_it(self): root = Path(temporary) (root / "scripts").mkdir() (root / "scripts/GO_LICENSE.txt").write_text("Go copyright and license") - toolchain = {"GOROOT": str(root / "toolchain"), "GOVERSION": "go1.26.7"} + toolchain = {"GOROOT": str(root / "toolchain"), "GOVERSION": "go1.27.4"} with mock.patch.object(dist.subprocess, "check_output", side_effect=["", json.dumps(toolchain)]): self.assertIn("Go copyright and license", dist.notices(root, {})) toolchain["GOVERSION"] = "go1.99.0"