From 8686ce3072d3b977710a1062ba64cabd24b874c2 Mon Sep 17 00:00:00 2001 From: Jetendra Kumar Date: Sun, 25 Oct 2026 16:36:12 +0530 Subject: [PATCH 1/3] build(deps): update Go version to 1.27.3 and adjust CI matrix Signed-off-by: Jetendra Kumar --- .github/workflows/cli.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index a6e8e95804..7118123b65 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -19,7 +19,7 @@ jobs: matrix: os: [linux, darwin, windows] arch: [amd64, arm64] - go-version: ['1.25', '1.26', '1.27'] + go-version: ['1.26', '1.27'] exclude: - os: windows arch: arm64 diff --git a/go.mod b/go.mod index 811f12b2cd..8abf3460db 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/getsops/sops/v3 -go 1.25.8 +go 1.27.3 require ( cloud.google.com/go/kms v1.33.0 From 9d4524e82e002ec2c8e81e22b9415a4cd3893e4a Mon Sep 17 00:00:00 2001 From: Jetendra Kumar Date: Sun, 25 Oct 2026 17:03:26 +0530 Subject: [PATCH 2/3] build(docs): update minimum Go version to 1.27.3 in changelog and contribution guidelines Signed-off-by: Jetendra Kumar --- CHANGELOG.md | 8 ++++++++ CONTRIBUTING.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 085aa507de..2ca5ae6fa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## Unreleased + +Project changes: + +* Upgrade minimum Go version to 1.27.3 for vulnerability fixes. +* Drop Go 1.25 from CI build matrix (end of life). +* Update CONTRIBUTION.md to reflect Go 1.27 requirement. + ## 3.13.3 Improvements: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bfae92ba8f..69ccb1e2c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ and instructions if you are thinking of helping with the development of SOPS. ## Getting started -- Make sure you have Go 1.25 or greater installed. You can find information on +- Make sure you have Go 1.27 or greater installed. You can find information on how to install Go [here](https://go.dev/doc/install) - Clone the Git repository and switch into SOPS's directory. - Run the tests with `make test`. They should all pass. From a626db8c865ec4ae3f33455ad56e814f25f878a4 Mon Sep 17 00:00:00 2001 From: Jetendra Kumar Date: Sun, 25 Oct 2026 17:28:05 +0530 Subject: [PATCH 3/3] reert: 1.25 changes and added toolchain Signed-off-by: Jetendra Kumar --- .github/workflows/cli.yml | 2 +- CHANGELOG.md | 4 +--- CONTRIBUTING.md | 2 +- go.mod | 4 +++- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 7118123b65..a6e8e95804 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -19,7 +19,7 @@ jobs: matrix: os: [linux, darwin, windows] arch: [amd64, arm64] - go-version: ['1.26', '1.27'] + go-version: ['1.25', '1.26', '1.27'] exclude: - os: windows arch: arm64 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca5ae6fa1..23d39c090d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,7 @@ Project changes: -* Upgrade minimum Go version to 1.27.3 for vulnerability fixes. -* Drop Go 1.25 from CI build matrix (end of life). -* Update CONTRIBUTION.md to reflect Go 1.27 requirement. +* Add `toolchain go1.27.3` directive to go.mod for vulnerbility fix. ## 3.13.3 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69ccb1e2c6..bfae92ba8f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ and instructions if you are thinking of helping with the development of SOPS. ## Getting started -- Make sure you have Go 1.27 or greater installed. You can find information on +- Make sure you have Go 1.25 or greater installed. You can find information on how to install Go [here](https://go.dev/doc/install) - Clone the Git repository and switch into SOPS's directory. - Run the tests with `make test`. They should all pass. diff --git a/go.mod b/go.mod index 8abf3460db..8b14c2005e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/getsops/sops/v3 -go 1.27.3 +go 1.25.8 + +toolchain go1.27.3 require ( cloud.google.com/go/kms v1.33.0