From 45e5f0a2a29684ba8c39bf09fb02ad2db2f45d2c Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 6 Nov 2026 15:37:36 -0700 Subject: [PATCH 1/3] Build with Go 1.26.10 (GO-2026-6809) govulncheck fails CI on GO-2026-6809: crypto/x509 did not distrust some compromised intermediate certificates before Go 1.26.10. The installer reaches it through apply.ServedCertificate, which verifies the certificate a server presents. The CI and release images move to the 1.26.10 digest, and go.mod requires 1.26.10 so no older toolchain builds a release. --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/release.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2249b76..7131008 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: test: runs-on: light container: - image: golang:1.26-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c # 1.26-bookworm + image: golang:1.26-bookworm@sha256:23ce71337b726608afb1bc00986e630a05034a87a87ea1fc2cd1ae5cf33387eb # 1.26-bookworm (1.26.10) steps: - uses: coffey-labs/actions/checkout@fab0c4d45e0162963965f1555df27b7bed5e20ec - name: Standard library only diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 52e5a51..fa6d05a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -30,7 +30,7 @@ jobs: release: runs-on: light container: - image: golang:1.26-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c # 1.26-bookworm + image: golang:1.26-bookworm@sha256:23ce71337b726608afb1bc00986e630a05034a87a87ea1fc2cd1ae5cf33387eb # 1.26-bookworm (1.26.10) env: TAG: ${{ github.ref_name }} TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/go.mod b/go.mod index 95fcc01..663ac5c 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module git.coffeylabs.org/inbuxa/inbuxa-installer -go 1.26.9 +go 1.26.10 -- 2.54.0 From c46dc10d8794ee4ae7c348e97bd96405f1ba3409 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 6 Nov 2026 15:37:36 -0700 Subject: [PATCH 2/3] Keep the tag's SSH signature out of the release notes The notes are the tag's message, and the step cut it off at a PGP signature only. Tags are SSH-signed, so every release since then has ended with the signature block. Any armored signature now ends the notes. --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index fa6d05a..abab13e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -55,7 +55,7 @@ jobs: apt-get -qq update >/dev/null && apt-get -qq install -y --no-install-recommends jq >/dev/null API="$CI_SERVER_INTERNAL/api/v1/repos/$GITHUB_REPOSITORY" auth=(-H "Authorization: token $TOKEN") - notes="$(git for-each-ref "refs/tags/$TAG" --format='%(contents)' | sed -e '/-----BEGIN PGP SIGNATURE-----/,$d')" + notes="$(git for-each-ref "refs/tags/$TAG" --format='%(contents)' | sed -e '/^-----BEGIN [A-Z ]*SIGNATURE-----$/,$d')" # PGP or SSH notes="$notes"$'\n\n'"Static binaries for linux/amd64 and linux/arm64. Verify with SHA256SUMS." created=0 id="$(curl -fsS "${auth[@]}" "$API/releases/tags/$TAG" 2>/dev/null | jq -r '.id // empty' || true)" -- 2.54.0 From 09cbf02ed9d62ac74c79fdc3c0f8a3617cf5bc14 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 6 Nov 2026 15:40:14 -0700 Subject: [PATCH 3/3] Install server 2026.10.29.1, console 2026.10.26.5 and webmail 2026.10.26 The stable line's first release since 2026.10.15: the server's 28 and 29 October security releases, the console hotfix 2026.10.26.5, and the webmail of 26 October. Checksums copied from each release's SHA256SUMS and checked against freshly downloaded tarballs for both architectures. Release tags may now sit on release/2026 as well as main: main installs the 27.1 release candidates, and the dated line keeps getting fixes from this branch until 27.1 ships. --- .gitea/workflows/release.yml | 11 +++++++---- README.md | 2 +- internal/release/release.go | 16 ++++++++-------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index abab13e..0195701 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -9,7 +9,8 @@ # minute, and the BUILD_ON switch has nothing to offload. GitHub's copy of the # Release is made with ~/.config/gitea-mirror/release-sync.py. # -# The tag must be annotated and on main, and named v..[.] +# The tag must be annotated and on main or release/2026 (the dated line, +# which keeps getting fixes until 27.1 ships), and named v..[.] # (scripts/build-release.sh checks the name). Its annotation is the release # notes. The Release is a draft until every file is attached, so it is never # visible half-filled; a draft this run made is deleted if an upload fails. @@ -40,11 +41,13 @@ jobs: - uses: coffey-labs/actions/checkout@fab0c4d45e0162963965f1555df27b7bed5e20ec with: fetch-depth: 0 - - name: The tag is annotated and on main + - name: The tag is annotated and on main or release/2026 run: | set -eu - git merge-base --is-ancestor "$(git rev-parse "$TAG^{commit}")" origin/main \ - || { echo "$TAG is not on main" >&2; exit 1; } + c="$(git rev-parse "$TAG^{commit}")" + git merge-base --is-ancestor "$c" origin/main \ + || git merge-base --is-ancestor "$c" origin/release/2026 \ + || { echo "$TAG is not on main or release/2026" >&2; exit 1; } [ "$(git cat-file -t "refs/tags/$TAG")" = tag ] \ || { echo "$TAG is a lightweight tag; its annotation is the release notes" >&2; exit 1; } - run: go test -count=1 ./... diff --git a/README.md b/README.md index 508e248..e821727 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ CA, with no internet and no public name involved. Each release has static binaries for linux/amd64 and linux/arm64, and a SHA256SUMS to check them against: - V=v2026.10.15.2 # the newest: https://git.coffeylabs.org/inbuxa/inbuxa-installer/releases/latest + V=v2026.11.6 # the newest: https://git.coffeylabs.org/inbuxa/inbuxa-installer/releases/latest curl -fLO https://git.coffeylabs.org/inbuxa/inbuxa-installer/releases/download/$V/inbuxa-linux-amd64 curl -fLO https://git.coffeylabs.org/inbuxa/inbuxa-installer/releases/download/$V/SHA256SUMS sha256sum --check --ignore-missing SHA256SUMS diff --git a/internal/release/release.go b/internal/release/release.go index b3ae1f7..d2f4b8e 100644 --- a/internal/release/release.go +++ b/internal/release/release.go @@ -12,7 +12,7 @@ package release import "fmt" // ServerVersion is the inbuxa-server release this installer installs. -const ServerVersion = "2026.10.15" +const ServerVersion = "2026.10.29.1" // ServerImage is that release as a container image. const ServerImage = "registry.coffeylabs.org/inbuxa/inbuxa-server:" + ServerVersion @@ -22,8 +22,8 @@ const ServerImage = "registry.coffeylabs.org/inbuxa/inbuxa-server:" + ServerVers // rather than fetched beside the download: a checksum that arrives with the // file only proves the file arrived. var ServerSHA256 = map[string]string{ - "amd64": "4f794c187a823d789556aa3325aa39c878bec07a905f28d75296910162a1d7a7", - "arm64": "67dcc41e203c36fac0e61f69517ba44055635e6987a0548835ea8ef460b5b692", + "amd64": "6fd2d097a11cdb35a724018113891d1255313f0a56e3c6c419772ba0ac73fe0b", + "arm64": "610eebcac4041eeee12eb13bc6d76f52429f53fcc84812dea52c48e1304d57e4", } // ServerTarball is where the release's tarball for an architecture is. @@ -38,15 +38,15 @@ func ServerTarball(arch string) string { // unavailable until one does. INBUXA_CONSOLE_TARBALL and // INBUXA_WEBMAIL_TARBALL name a local file instead, for testing. const ( - ConsoleVersion = "2026.10.14" - ConsoleSHA256 = "5f8a1448cc254adbacaa601f3b01763ac401bc24e1f307f3969404392c046647" - WebmailVersion = "2026.10.13-g1299756" // its tag is inbuxa-v + ConsoleVersion = "2026.10.26.5" + ConsoleSHA256 = "c5085550585cd7e58b512afadc33f1c4719888baa441bc79882aa9f3c31c54ad" + WebmailVersion = "2026.10.26-gcff6f1f" // its tag is inbuxa-v ) // WebmailSHA256 is the SHA-256 of each architecture's webmail tarball. var WebmailSHA256 = map[string]string{ - "amd64": "cf579536ef19802ccd3b43b3a5fe0f5176e42f86400ca798b74b3355da9fb1d7", - "arm64": "df141d0b0e3cdf646899971c6c2997a01fae8cf8e0c83e26e5caebc89169e8d3", + "amd64": "851ef48ae71e349c6ff2772618a1afad0e664ba5ee94041a661b13da1c282a38", + "arm64": "852b9f85423b9b73600fddf7d2cdefc6b58473fa157db8d9df31384e746ee1dd", } // ConsoleTarball is where the console's release tarball is. -- 2.54.0