simplegit

Go requirement bumped to 1.27.3, sec-model section of self-host.md corrected.

aafdf3eff261e996758e2e952a2d4e92e506e898
cjosie <administrator@josie-c.com> · 2026-10-21T00:34 · browse files at this commit

parents: 89564f8

diff --git a/docs/self-host.md b/docs/self-host.md
index 7d37a2e..fd3c3fb 100644
--- a/docs/self-host.md
+++ b/docs/self-host.md
@@ -19,9 +19,14 @@ names.
 
 The binary is built from the Go standard library plus a small dependency set
 (`toml`, `modernc.org/sqlite`, `chroma`, `goldmark`, `x/crypto` for bcrypt,
-`x/term`). Run `govulncheck ./...` after dependency or toolchain bumps; it is
-clean at the 1.0/1.1 line. Build with a current Go toolchain (the module
-requires ≥ 1.27.1).
+`x/term`). Run `govulncheck ./...` after dependency bumps; it is clean at the
+1.0/1.1 line. It does not cover the standard library, so Go security releases
+have to be tracked separately. The module requires Go ≥ 1.27.3, and the `go`
+directive in `go.mod` is what enforces it: the go command refuses to build
+with an older toolchain rather than silently producing a binary that is
+missing the stdlib fixes. On a host with `GOTOOLCHAIN=local` (some distros
+set it) that refusal is the end of it — install Go ≥ 1.27.3 rather than
+expecting the go command to fetch it.
 
 Guarantees: passwords are bcrypt; git tokens are stored only as SHA-256
 digests; the data dir is 0700 and the SQLite file 0600; all SQL is
diff --git a/go.mod b/go.mod
index 17dae69..b696203 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module git.josie-c.com/josie/simplegit
 
-go 1.27.1
+go 1.27.3
 
 require (
 	github.com/BurntSushi/toml v1.6.0