2023-07-11 21:09:23 +02:00
|
|
|
module github.com/getsops/sops/v3
|
2019-07-29 16:35:31 +02:00
|
|
|
|
2024-06-02 05:10:50 +02:00
|
|
|
go 1.21
|
2019-07-29 16:35:31 +02:00
|
|
|
|
|
|
|
|
require (
|
2024-06-23 15:24:20 +00:00
|
|
|
cloud.google.com/go/kms v1.18.0
|
2024-06-26 08:39:35 +00:00
|
|
|
cloud.google.com/go/storage v1.42.0
|
2024-06-23 15:24:20 +00:00
|
|
|
filippo.io/age v1.2.0
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0
|
2024-06-23 15:24:20 +00:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0
|
2024-02-15 21:25:39 +00:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.1.0
|
2024-06-26 08:39:35 +00:00
|
|
|
github.com/ProtonMail/go-crypto v1.1.0-alpha.3-proton
|
2024-06-23 15:24:20 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2 v1.30.0
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/config v1.27.21
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.21
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/kms v1.34.1
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.29.1
|
2019-07-29 16:35:31 +02:00
|
|
|
github.com/blang/semver v3.5.1+incompatible
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/fatih/color v1.17.0
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/getsops/gopgagent v0.0.0-20240527072608-0c14999532fe
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/golang/protobuf v1.5.4
|
2023-10-10 23:57:40 +02:00
|
|
|
github.com/google/go-cmp v0.6.0
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
2019-07-29 16:35:31 +02:00
|
|
|
github.com/goware/prefixer v0.0.0-20160118172347-395022866408
|
2023-08-16 23:21:11 +02:00
|
|
|
github.com/hashicorp/go-cleanhttp v0.5.2
|
2024-06-01 21:11:03 +02:00
|
|
|
github.com/hashicorp/vault/api v1.14.0
|
2023-07-04 13:19:03 +02:00
|
|
|
github.com/lib/pq v1.10.9
|
2020-05-05 00:57:51 +05:30
|
|
|
github.com/mitchellh/go-homedir v1.1.0
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.1
|
2023-07-04 13:19:03 +02:00
|
|
|
github.com/ory/dockertest/v3 v3.10.0
|
2020-08-06 16:47:15 +02:00
|
|
|
github.com/pkg/errors v0.9.1
|
2023-07-04 13:19:03 +02:00
|
|
|
github.com/sirupsen/logrus v1.9.3
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/stretchr/testify v1.9.0
|
|
|
|
|
github.com/urfave/cli v1.22.15
|
|
|
|
|
golang.org/x/net v0.26.0
|
|
|
|
|
golang.org/x/sys v0.21.0
|
|
|
|
|
golang.org/x/term v0.21.0
|
2024-06-26 08:39:35 +00:00
|
|
|
google.golang.org/api v0.186.0
|
2024-06-26 17:30:10 +02:00
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d
|
2024-06-23 15:24:20 +00:00
|
|
|
google.golang.org/grpc v1.64.0
|
|
|
|
|
google.golang.org/protobuf v1.34.2
|
2023-07-04 13:19:03 +02:00
|
|
|
gopkg.in/ini.v1 v1.67.0
|
2022-07-12 15:20:30 -07:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
2022-02-24 14:12:58 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
2024-06-26 08:39:35 +00:00
|
|
|
cloud.google.com/go v0.115.0 // indirect
|
|
|
|
|
cloud.google.com/go/auth v0.6.0 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
|
|
|
|
|
cloud.google.com/go/compute/metadata v0.3.0 // indirect
|
|
|
|
|
cloud.google.com/go/iam v1.1.8 // indirect
|
|
|
|
|
cloud.google.com/go/longrunning v0.5.7 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
dario.cat/mergo v1.0.0 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.1 // indirect
|
|
|
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
2022-02-24 14:12:58 -08:00
|
|
|
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect
|
2024-06-23 15:24:20 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 // indirect
|
2024-02-01 13:54:47 -05:00
|
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
|
2024-06-23 15:24:20 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect
|
2024-06-23 15:24:20 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.21.1 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/aws/smithy-go v1.20.2 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
|
|
|
github.com/cloudflare/circl v1.3.9 // indirect
|
|
|
|
|
github.com/containerd/continuity v0.4.3 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
|
2022-02-24 14:12:58 -08:00
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/docker/cli v27.0.1+incompatible // indirect
|
|
|
|
|
github.com/docker/docker v27.0.1+incompatible // indirect
|
|
|
|
|
github.com/docker/go-connections v0.5.0 // indirect
|
|
|
|
|
github.com/docker/go-units v0.5.0 // indirect
|
2023-12-18 10:08:06 +00:00
|
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
2024-06-01 21:11:03 +02:00
|
|
|
github.com/go-jose/go-jose/v4 v4.0.2 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
2023-12-18 10:08:06 +00:00
|
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/go-viper/mapstructure/v2 v2.0.0 // indirect
|
2022-12-14 14:43:22 +00:00
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
2023-09-11 22:42:11 +02:00
|
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
2024-02-01 13:54:47 -05:00
|
|
|
github.com/google/uuid v1.6.0 // indirect
|
2023-11-06 09:20:00 +00:00
|
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
2024-06-26 08:39:35 +00:00
|
|
|
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
|
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
2024-06-01 21:11:03 +02:00
|
|
|
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
2024-02-01 13:54:47 -05:00
|
|
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
2024-02-01 13:54:47 -05:00
|
|
|
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
|
2022-02-24 14:12:58 -08:00
|
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
azkv: update SDK to latest, add tests, tidy
This updates the Azure SDK to latest[1], while dropping the custom
authentication flow in favor of the SDK default[2]. It includes
integration tests, which require the `integration` Go build tag and
a set of environmental variables to be configured to be run:
```
PASS
coverage: 81.2% of statements
ok go.mozilla.org/sops/v3/azkv 5.376s coverage: 81.2% of statements
```
The improvements are based on a fork of the key source in the Flux
project's kustomize-controller, built due to SOPS' limitation around
credential managment without relying on runtime environment variables.
- Azure SDK has been updated to latest, including integration test
coverage.
- Custom authentication flow has been dropped in favor of the SDK
default[2]. This should work well on almost any system and is
generally the go-to way of setting this up, including on cloud
environments, etc.
- It introduces a `TokenCredential` type which holds an
`azcore.TokenCredential`, and can be applied to a `MasterKey`.
When applied, the token is used instead of the SDK default. This is
most useful when working with SOPS as an SDK, in combination with
e.g. a local key service server implementation.
- Extensive test coverage.
The forked version of this has compatibility tests to ensure it works
with current SOPS:
- https://github.com/fluxcd/kustomize-controller/blob/327a3560b35c5994647938958aa5523f319094b8/internal/sops/azkv/keysource_integration_test.go#L89
- https://github.com/fluxcd/kustomize-controller/blob/327a3560b35c5994647938958aa5523f319094b8/internal/sops/azkv/keysource_integration_test.go#L117
[1]: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/keyvault/azkeys
[2]: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-05-30 13:27:55 +02:00
|
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
2023-07-04 13:19:03 +02:00
|
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
2023-11-06 09:20:00 +00:00
|
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
hcvault: update API, add tests, tidy
This updates the Vault API and client to latest, adds more extensive
test coverage, and general tidying of bits of code.
The improvements are based on a fork of the key source in the Flux
project's kustomize-controller, built due to SOPS' limitation around
credential management without relying on runtime environment variables.
- Vault API and client have been updated to latest.
- It introduces a `Token` type which holds a Vault token, and can be
applied to the `MasterKey`. When applied, the token is used in the
Vault client configuration, instead of relying on the `VAULT_TOKEN`
environment variables, or the `.vault-token` file in the user's home
directory. This is most useful when working with SOPS as an SDK, in
combination with e.g. a local key service server implementation.
- Extensive test coverage.
The forked version of this has compatability tests to ensure it works
with current SOPS:
- https://github.com/fluxcd/kustomize-controller/blob/62fb2d96a297c7e344050f46ee54074ef66dd438/internal/sops/hcvault/keysource_test.go#L130
- https://github.com/fluxcd/kustomize-controller/blob/62fb2d96a297c7e344050f46ee54074ef66dd438/internal/sops/hcvault/keysource_test.go#L202
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-07-04 23:46:43 +02:00
|
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
|
|
|
github.com/moby/term v0.5.0 // indirect
|
2022-03-09 13:31:34 -08:00
|
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/opencontainers/image-spec v1.1.0 // indirect
|
|
|
|
|
github.com/opencontainers/runc v1.1.13 // indirect
|
2024-02-03 08:14:39 +00:00
|
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
2022-02-24 14:12:58 -08:00
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
2023-07-04 13:19:03 +02:00
|
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
2022-02-24 14:12:58 -08:00
|
|
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
2022-12-14 14:43:22 +00:00
|
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
|
|
|
go.opencensus.io v0.24.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
|
|
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel v1.27.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/metric v1.27.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/trace v1.27.0 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
golang.org/x/crypto v0.24.0 // indirect
|
2024-06-23 15:24:20 +00:00
|
|
|
golang.org/x/oauth2 v0.21.0 // indirect
|
2024-06-10 23:17:07 +00:00
|
|
|
golang.org/x/sync v0.7.0 // indirect
|
|
|
|
|
golang.org/x/text v0.16.0 // indirect
|
2023-12-10 12:35:14 +00:00
|
|
|
golang.org/x/time v0.5.0 // indirect
|
2024-06-26 17:30:10 +02:00
|
|
|
google.golang.org/genproto v0.0.0-20240624140628-dc46fd24d27d // indirect
|
|
|
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240624140628-dc46fd24d27d // indirect
|
2022-12-14 14:43:22 +00:00
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
2019-07-29 16:35:31 +02:00
|
|
|
)
|