Skip to content

Commit ebded2a

Browse files
Merge branch 'getsops:main' into azkv-skip-uri-validation
2 parents ef0e0ef + 2afc0ab commit ebded2a

8 files changed

Lines changed: 140 additions & 125 deletions

File tree

‎.github/workflows/cli.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
persist-credentials: false
4141

42-
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
42+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4343
with:
4444
path: ~/go/pkg/mod
4545
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Initializes the CodeQL tools for scanning.
3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
38+
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
3939
with:
4040
languages: go
4141
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
@@ -52,6 +52,6 @@ jobs:
5252
make install
5353
5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
55+
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
5656
with:
5757
category: "/language:go"

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
cache: false
3838

3939
- name: Setup Syft
40-
uses: anchore/sbom-action/download-syft@f8bdd1d8ac5e901a77a92f111440fdb1b593736b # v0.20.6
40+
uses: anchore/sbom-action/download-syft@aa0e114b2e19480f157109b9922bda359bd98b90 # v0.20.8
4141

4242
- name: Setup Cosign
43-
uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
43+
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
4444

4545
- name: Setup QEMU
4646
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
@@ -49,14 +49,14 @@ jobs:
4949
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5050

5151
- name: Login to GitHub Container Registry
52-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
52+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
5353
with:
5454
registry: ghcr.io
5555
username: ${{ github.actor }}
5656
password: ${{ secrets.GITHUB_TOKEN }}
5757

5858
- name: Login to Quay.io
59-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
59+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
6060
with:
6161
registry: quay.io
6262
username: ${{ secrets.QUAY_BOT_USERNAME }}

‎cmd/sops/main.go‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ func main() {
196196
Name: "same-process",
197197
Usage: "run command in the current process instead of in a child process",
198198
},
199+
cli.StringFlag{
200+
Name: "decryption-order",
201+
Usage: "comma separated list of decryption key types",
202+
EnvVar: "SOPS_DECRYPTION_ORDER",
203+
},
199204
}, keyserviceFlags...),
200205
Action: func(c *cli.Context) error {
201206
if c.NArg() != 2 {
@@ -305,6 +310,11 @@ func main() {
305310
Name: "filename",
306311
Usage: fmt.Sprintf("filename for the temporarily file (default: %s)", exec.FallbackFilename),
307312
},
313+
cli.StringFlag{
314+
Name: "decryption-order",
315+
Usage: "comma separated list of decryption key types",
316+
EnvVar: "SOPS_DECRYPTION_ORDER",
317+
},
308318
}, keyserviceFlags...),
309319
Action: func(c *cli.Context) error {
310320
if c.NArg() != 2 {
@@ -383,6 +393,11 @@ func main() {
383393
Name: "verbose",
384394
Usage: "Enable verbose logging output",
385395
},
396+
cli.StringFlag{
397+
Name: "decryption-order",
398+
Usage: "comma separated list of decryption key types",
399+
EnvVar: "SOPS_DECRYPTION_ORDER",
400+
},
386401
}, keyserviceFlags...),
387402
Action: func(c *cli.Context) error {
388403
if c.Bool("verbose") || c.GlobalBool("verbose") {
@@ -902,7 +917,7 @@ func main() {
902917
},
903918
cli.StringFlag{
904919
Name: "output",
905-
Usage: "Save the output after decryption to the file specified",
920+
Usage: "Save the output after encryption to the file specified",
906921
},
907922
cli.StringFlag{
908923
Name: "kms, k",

‎functional-tests/Cargo.lock‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎functional-tests/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
authors = ["Adrian Utrilla <adrianutrilla@gmail.com>"]
66

77
[dependencies]
8-
tempfile = "3.22.0"
8+
tempfile = "3.23.0"
99
serde = "1.0"
1010
serde_json = "1.0.145"
1111
serde_yaml = "0.9.34"

‎go.mod‎

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ module github.com/getsops/sops/v3
33
go 1.24.0
44

55
require (
6-
cloud.google.com/go/kms v1.23.0
6+
cloud.google.com/go/kms v1.23.2
77
cloud.google.com/go/storage v1.57.0
88
filippo.io/age v1.2.1
99
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1
10-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.12.0
10+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0
1111
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.4.0
1212
github.com/ProtonMail/go-crypto v1.3.0
13-
github.com/aws/aws-sdk-go-v2 v1.39.2
14-
github.com/aws/aws-sdk-go-v2/config v1.31.11
15-
github.com/aws/aws-sdk-go-v2/credentials v1.18.15
16-
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.19.9
17-
github.com/aws/aws-sdk-go-v2/service/kms v1.45.6
18-
github.com/aws/aws-sdk-go-v2/service/s3 v1.88.3
19-
github.com/aws/aws-sdk-go-v2/service/sts v1.38.6
13+
github.com/aws/aws-sdk-go-v2 v1.39.3
14+
github.com/aws/aws-sdk-go-v2/config v1.31.13
15+
github.com/aws/aws-sdk-go-v2/credentials v1.18.17
16+
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.19.13
17+
github.com/aws/aws-sdk-go-v2/service/kms v1.46.0
18+
github.com/aws/aws-sdk-go-v2/service/s3 v1.88.5
19+
github.com/aws/aws-sdk-go-v2/service/sts v1.38.7
2020
github.com/blang/semver v3.5.1+incompatible
2121
github.com/fatih/color v1.18.0
2222
github.com/getsops/gopgagent v0.0.0-20241224165529-7044f28e491e
2323
github.com/google/go-cmp v0.7.0
2424
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
2525
github.com/goware/prefixer v0.0.0-20160118172347-395022866408
2626
github.com/hashicorp/go-cleanhttp v0.5.2
27-
github.com/hashicorp/vault/api v1.21.0
27+
github.com/hashicorp/vault/api v1.22.0
2828
github.com/lib/pq v1.10.9
2929
github.com/mitchellh/go-homedir v1.1.0
3030
github.com/mitchellh/go-wordwrap v1.0.1
@@ -34,24 +34,24 @@ require (
3434
github.com/stretchr/testify v1.11.1
3535
github.com/urfave/cli v1.22.17
3636
go.yaml.in/yaml/v3 v3.0.4
37-
golang.org/x/crypto v0.42.0
38-
golang.org/x/net v0.44.0
39-
golang.org/x/oauth2 v0.31.0
40-
golang.org/x/sys v0.36.0
41-
golang.org/x/term v0.35.0
42-
google.golang.org/api v0.250.0
43-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250908214217-97024824d090
44-
google.golang.org/grpc v1.75.1
45-
google.golang.org/protobuf v1.36.9
37+
golang.org/x/crypto v0.43.0
38+
golang.org/x/net v0.46.0
39+
golang.org/x/oauth2 v0.32.0
40+
golang.org/x/sys v0.37.0
41+
golang.org/x/term v0.36.0
42+
google.golang.org/api v0.252.0
43+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251002232023-7c0ddcbb5797
44+
google.golang.org/grpc v1.76.0
45+
google.golang.org/protobuf v1.36.10
4646
gopkg.in/ini.v1 v1.67.0
4747
)
4848

4949
require (
5050
cel.dev/expr v0.24.0 // indirect
5151
cloud.google.com/go v0.121.6 // indirect
52-
cloud.google.com/go/auth v0.16.5 // indirect
52+
cloud.google.com/go/auth v0.17.0 // indirect
5353
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
54-
cloud.google.com/go/compute/metadata v0.8.4 // indirect
54+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
5555
cloud.google.com/go/iam v1.5.2 // indirect
5656
cloud.google.com/go/longrunning v0.6.7 // indirect
5757
cloud.google.com/go/monitoring v1.24.2 // indirect
@@ -66,19 +66,19 @@ require (
6666
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.53.0 // indirect
6767
github.com/Microsoft/go-winio v0.6.2 // indirect
6868
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
69-
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.1 // indirect
70-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.9 // indirect
71-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.9 // indirect
72-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.9 // indirect
73-
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
74-
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.9 // indirect
75-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.1 // indirect
76-
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.9 // indirect
77-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.9 // indirect
78-
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.9 // indirect
79-
github.com/aws/aws-sdk-go-v2/service/sso v1.29.5 // indirect
80-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.1 // indirect
81-
github.com/aws/smithy-go v1.23.0 // indirect
69+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.2 // indirect
70+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.10 // indirect
71+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.10 // indirect
72+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.10 // indirect
73+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect
74+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.10 // indirect
75+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 // indirect
76+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.1 // indirect
77+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.10 // indirect
78+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.10 // indirect
79+
github.com/aws/aws-sdk-go-v2/service/sso v1.29.7 // indirect
80+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.2 // indirect
81+
github.com/aws/smithy-go v1.23.1 // indirect
8282
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
8383
github.com/cespare/xxhash/v2 v2.3.0 // indirect
8484
github.com/cloudflare/circl v1.6.1 // indirect
@@ -93,7 +93,7 @@ require (
9393
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
9494
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
9595
github.com/felixge/httpsnoop v1.0.4 // indirect
96-
github.com/go-jose/go-jose/v4 v4.1.1 // indirect
96+
github.com/go-jose/go-jose/v4 v4.1.2 // indirect
9797
github.com/go-logr/logr v1.4.3 // indirect
9898
github.com/go-logr/stdr v1.2.2 // indirect
9999
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
@@ -141,7 +141,7 @@ require (
141141
go.opentelemetry.io/otel/sdk/metric v1.37.0 // indirect
142142
go.opentelemetry.io/otel/trace v1.37.0 // indirect
143143
golang.org/x/sync v0.17.0 // indirect
144-
golang.org/x/text v0.29.0 // indirect
144+
golang.org/x/text v0.30.0 // indirect
145145
golang.org/x/time v0.13.0 // indirect
146146
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
147147
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c // indirect

0 commit comments

Comments
 (0)