From 1ab471333ee070145ca7a0e640e4e8f31dd36126 Mon Sep 17 00:00:00 2001 From: Lucas Fernando Cardoso Nunes Date: Sun, 17 Sep 2023 13:35:23 -0300 Subject: [PATCH 1/2] replace all mozilla/sops with getsops/sops Signed-off-by: Lucas Fernando Cardoso Nunes --- README.md | 4 ++-- go.mod | 2 +- pkg/providers/sops/sops.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 51233c9..5f89f3a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It supports various backends including: - AWS S3 - GCP Secrets Manager - [Google Sheets](#google-sheets) -- [SOPS](https://github.com/mozilla/sops)-encrypted files +- [SOPS](https://github.com/getsops/sops)-encrypted files - Terraform State - CredHub(Coming soon) @@ -203,7 +203,7 @@ Please see the [relevant unit test cases](https://github.com/helmfile/vals/blob/ - [GCP Secrets Manager](#gcp-secrets-manager) - [Google Sheets](#google-sheets) - [Google GCS](#google-gcs) -- [SOPS](#sops) powered by [sops](https://github.com/mozilla/sops) +- [SOPS](#sops) powered by [sops](https://github.com/getsops/sops) - [Terraform (tfstate)](#terraform-tfstate) powered by [tfstate-lookup](https://github.com/fujiwara/tfstate-lookup) - [Echo](#echo) - [File](#file) diff --git a/go.mod b/go.mod index 167ec6a..605dc30 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/hashicorp/golang-lru v0.5.4 github.com/hashicorp/vault/api v1.5.0 github.com/stretchr/testify v1.8.4 - go.mozilla.org/sops/v3 v3.7.3 + github.com/getsops/sops/v3 v3.7.3 golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 google.golang.org/api v0.95.0 google.golang.org/genproto v0.0.0-20220930163606-c98284e70a91 diff --git a/pkg/providers/sops/sops.go b/pkg/providers/sops/sops.go index f5f2749..5805cce 100644 --- a/pkg/providers/sops/sops.go +++ b/pkg/providers/sops/sops.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "fmt" - "go.mozilla.org/sops/v3/decrypt" + "github.com/getsops/sops/v3/decrypt" "gopkg.in/yaml.v3" "github.com/helmfile/vals/pkg/api" From 13d50a84f22256f6891b60240098181c750089b6 Mon Sep 17 00:00:00 2001 From: Lucas Fernando Cardoso Nunes Date: Sun, 17 Sep 2023 13:48:49 -0300 Subject: [PATCH 2/2] bump sops to 3.8.0 Signed-off-by: Lucas Fernando Cardoso Nunes --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 605dc30..939c218 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/hashicorp/golang-lru v0.5.4 github.com/hashicorp/vault/api v1.5.0 github.com/stretchr/testify v1.8.4 - github.com/getsops/sops/v3 v3.7.3 + github.com/getsops/sops/v3 v3.8.0 golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 google.golang.org/api v0.95.0 google.golang.org/genproto v0.0.0-20220930163606-c98284e70a91