1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

2093 Commits

Author SHA1 Message Date
Felix Fontein
a95e5258b4 Merge pull request #1841 from felixfontein/release-3.10.2
Release 3.10.2 release
v3.10.2
2025-04-14 20:50:21 +02:00
Felix Fontein
54610b8330 Prepare 3.10.2 release.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-04-14 18:57:06 +02:00
Felix Fontein
d101549769 Merge pull request #1840 from getsops/dependabot/github_actions/ci-d230bc030b
build(deps): Bump github/codeql-action from 3.28.13 to 3.28.15 in the ci group
2025-04-14 17:50:46 +02:00
dependabot[bot]
69651f3291 build(deps): Bump github/codeql-action in the ci group
Bumps the ci group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.28.13 to 3.28.15
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b549b9259...45775bd823)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 17:38:50 +02:00
Felix Fontein
b53d1686d2 Merge pull request #1839 from getsops/dependabot/go_modules/go-bc2a587282
build(deps): Bump the go group with 9 updates
2025-04-14 17:38:35 +02:00
dependabot[bot]
d1c35614f3 build(deps): Bump the go group with 9 updates
Bumps the go group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.8.2` | `1.9.0` |
| [github.com/ProtonMail/go-crypto](https://github.com/ProtonMail/go-crypto) | `1.1.6` | `1.2.0` |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.29.13` | `1.29.14` |
| [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.17.66` | `1.17.67` |
| [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) | `1.17.71` | `1.17.72` |
| [github.com/aws/aws-sdk-go-v2/service/kms](https://github.com/aws/aws-sdk-go-v2) | `1.38.2` | `1.38.3` |
| [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.79.1` | `1.79.2` |
| [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) | `1.33.18` | `1.33.19` |
| [golang.org/x/net](https://github.com/golang/net) | `0.38.0` | `0.39.0` |


Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.8.2 to 1.9.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azidentity/v1.8.2...sdk/azcore/v1.9.0)

Updates `github.com/ProtonMail/go-crypto` from 1.1.6 to 1.2.0
- [Release notes](https://github.com/ProtonMail/go-crypto/releases)
- [Commits](https://github.com/ProtonMail/go-crypto/compare/v1.1.6...v1.2.0)

Updates `github.com/aws/aws-sdk-go-v2/config` from 1.29.13 to 1.29.14
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.29.13...config/v1.29.14)

Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.17.66 to 1.17.67
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.17.66...credentials/v1.17.67)

Updates `github.com/aws/aws-sdk-go-v2/feature/s3/manager` from 1.17.71 to 1.17.72
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/s3/manager/v1.17.71...feature/s3/manager/v1.17.72)

Updates `github.com/aws/aws-sdk-go-v2/service/kms` from 1.38.2 to 1.38.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.38.2...service/s3/v1.38.3)

Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.79.1 to 1.79.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.79.1...service/s3/v1.79.2)

Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.33.18 to 1.33.19
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/sns/v1.33.18...service/sns/v1.33.19)

Updates `golang.org/x/net` from 0.38.0 to 0.39.0
- [Commits](https://github.com/golang/net/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/ProtonMail/go-crypto
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.29.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-version: 1.17.67
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager
  dependency-version: 1.17.72
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/kms
  dependency-version: 1.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-version: 1.79.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-version: 1.33.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: golang.org/x/net
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:17:52 +00:00
Felix Fontein
0dec4a025f Merge pull request #1829 from felixfontein/remove-reserved-check-in-store
Remove reserved keyword check from YAML store's `LoadPlainFile()`
2025-04-13 15:22:15 +02:00
Felix Fontein
6d4c21860e Remove reserved keyword check from YAML store's LoadPlainFile().
This check hid the better check in cmd/sops/encrypt.go.

Signed-off-by: Felix Fontein <felix@fontein.de>
2025-04-13 15:18:09 +02:00
Hidde Beydals
97972772fd Merge pull request #1836 from getsops/fix-go-version
Use latest 1.24 Go version for release build
2025-04-13 13:50:09 +02:00
Hidde Beydals
2cb47317a7 Use latest 1.24 Go version for release build
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2025-04-13 13:39:25 +02:00
Felix Fontein
7d4395fc8b Merge pull request #1834 from getsops/dependabot/go_modules/go-62c5b7fd63
build(deps): Bump the go group with 13 updates
2025-04-07 19:14:23 +02:00
dependabot[bot]
0ca131c85d build(deps): Bump the go group with 13 updates
Bumps the go group with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) | `1.17.1` | `1.18.0` |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.29.12` | `1.29.13` |
| [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.17.65` | `1.17.66` |
| [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) | `1.17.69` | `1.17.71` |
| [github.com/aws/aws-sdk-go-v2/service/kms](https://github.com/aws/aws-sdk-go-v2) | `1.38.1` | `1.38.2` |
| [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.78.2` | `1.79.1` |
| [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) | `1.33.17` | `1.33.18` |
| [github.com/ory/dockertest/v3](https://github.com/ory/dockertest) | `3.11.0` | `3.12.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.36.0` | `0.37.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2) | `0.28.0` | `0.29.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.31.0` | `0.32.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.30.0` | `0.31.0` |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.71.0` | `1.71.1` |


Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.17.1 to 1.18.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.17.1...sdk/azcore/v1.18.0)

Updates `github.com/aws/aws-sdk-go-v2/config` from 1.29.12 to 1.29.13
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.29.12...config/v1.29.13)

Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.17.65 to 1.17.66
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.17.65...credentials/v1.17.66)

Updates `github.com/aws/aws-sdk-go-v2/feature/s3/manager` from 1.17.69 to 1.17.71
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/s3/manager/v1.17.69...feature/s3/manager/v1.17.71)

Updates `github.com/aws/aws-sdk-go-v2/service/kms` from 1.38.1 to 1.38.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.38.1...service/s3/v1.38.2)

Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.78.2 to 1.79.1
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.78.2...service/s3/v1.79.1)

Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.33.17 to 1.33.18
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/sns/v1.33.17...service/sns/v1.33.18)

Updates `github.com/ory/dockertest/v3` from 3.11.0 to 3.12.0
- [Release notes](https://github.com/ory/dockertest/releases)
- [Commits](https://github.com/ory/dockertest/compare/v3.11.0...v3.12.0)

Updates `golang.org/x/crypto` from 0.36.0 to 0.37.0
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0)

Updates `golang.org/x/oauth2` from 0.28.0 to 0.29.0
- [Commits](https://github.com/golang/oauth2/compare/v0.28.0...v0.29.0)

Updates `golang.org/x/sys` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0)

Updates `golang.org/x/term` from 0.30.0 to 0.31.0
- [Commits](https://github.com/golang/term/compare/v0.30.0...v0.31.0)

Updates `google.golang.org/grpc` from 1.71.0 to 1.71.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.71.1)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-version: 1.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.29.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-version: 1.17.66
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager
  dependency-version: 1.17.71
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/kms
  dependency-version: 1.38.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-version: 1.79.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-version: 1.33.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/ory/dockertest/v3
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/crypto
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/sys
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/term
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: google.golang.org/grpc
  dependency-version: 1.71.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 09:56:08 +00:00
Andrew Block
acc47adaa0 Merge pull request #1827 from felixfontein/release-3.10.1
Release 3.10.1
v3.10.1
2025-03-31 12:28:14 -05:00
Felix Fontein
9d7d337435 Add changelog.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-31 18:21:59 +02:00
Felix Fontein
43afde138d Bump version to 3.10.1.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-31 18:21:40 +02:00
Hidde Beydals
28ec78bb73 Merge pull request #1826 from getsops/dependabot/github_actions/ci-436ca6f11e
build(deps): Bump the ci group with 2 updates
2025-03-31 11:10:00 +01:00
dependabot[bot]
72407d409b build(deps): Bump the ci group with 2 updates
Bumps the ci group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action).


Updates `github/codeql-action` from 3.28.12 to 3.28.13
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f8171a638...1b549b9259)

Updates `goreleaser/goreleaser-action` from 6.2.1 to 6.3.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](90a3faa9d0...9c156ee8a1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 09:50:38 +00:00
Felix Fontein
4ed7060298 Merge pull request #1823 from sabre1041/goreleaser-windows-arch
Added support for multiarch windows release binaries
v3.10.0
2025-03-30 19:05:20 +02:00
Andrew Block
4515b3f3ff Added support for multiarch windows release binaries
Signed-off-by: Andrew Block <andy.block@gmail.com>
2025-03-30 11:52:01 -05:00
Felix Fontein
200bb6d8ab Merge pull request #1815 from felixfontein/release-3.10.0
Release 3.10.0
2025-03-30 17:43:24 +02:00
Felix Fontein
f7205d964a Add changelog for 3.10.0.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-30 17:15:59 +02:00
Felix Fontein
4f78a59de3 Bump version to 3.10.0.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-30 17:14:59 +02:00
Felix Fontein
dc888d5f5e Merge pull request #1820 from felixfontein/warn-sops-yml
Warn about `.sops.yml` files found while searching for `.sops.yaml`
2025-03-30 17:14:05 +02:00
Felix Fontein
6d6e72c137 Apply suggestion by Hidde.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-30 17:02:33 +02:00
Felix Fontein
cbce6b47e9 Warn about .sops.yml files found while searching for .sops.yaml.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-30 15:21:33 +02:00
Hidde Beydals
8c91a3b952 Merge pull request #1578 from marensofier/add_access_token
Support `GOOGLE_OAUTH_ACCESS_TOKEN` for Google Cloud Platform
2025-03-30 15:17:24 +02:00
Hidde Beydals
ecf3194d4a Support GOOGLE_OAUTH_ACCESS_TOKEN for GCP
Co-authored-by: Maren Sofie Ringsby <marensofieringsby@gmail.com>
Co-authored-by: Matheus Pimenta <matheuscscp@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2025-03-30 14:11:51 +01:00
Felix Fontein
2e22c04f7f Merge pull request #1819 from getsops/update-go
Build using Go 1.24 and drop support for 1.22
2025-03-30 14:18:45 +02:00
Hidde Beydals
60b9e0851d Drop Go toolchain removal hack
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2025-03-30 12:10:29 +02:00
Hidde Beydals
cbec03036b Build using Go 1.24 and drop support for 1.22
Go 1.22.0 has been EOL since 1 year and 1 month ago[1].

[1]: https://endoflife.date/go

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2025-03-30 12:09:26 +02:00
Felix Fontein
03fb746ecd Merge pull request #1816 from felixfontein/explicit-latest-check
Add option to explicitly check for the latest version; deprecate current default of always doing that unless disabled
2025-03-28 22:04:23 +01:00
Felix Fontein
c6ab16f585 Add option to explicitly check for the latest version; deprecate current default of always doing that unless disabled.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 21:40:11 +01:00
Felix Fontein
51556039da Merge pull request #1817 from felixfontein/fmt
Run 'gofmt -w' on all .go files
2025-03-28 21:38:22 +01:00
Felix Fontein
0ece1db9a8 Add commit to .git-blame-ignore-revs.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 20:12:04 +01:00
Felix Fontein
72cebfd8a1 Run 'gofmt -w' on all .go files.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 20:11:33 +01:00
Felix Fontein
5ea417b78f Merge pull request #1814 from felixfontein/deps
Update all dependencies
2025-03-28 08:41:11 +01:00
Felix Fontein
09203e84f8 Run 'make vendor'.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:17:51 +01:00
Felix Fontein
70ae516a76 Update all dependencies with 'go get -t -u ./...'.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:17:31 +01:00
Felix Fontein
24ceb088d0 Merge pull request #1813 from felixfontein/shamir
Improve Shamir Secret Sharing code
2025-03-28 07:15:02 +01:00
Felix Fontein
bae6742bd7 Add mul/div smoke test.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
136e271223 Better document arithmetic functions.
While writing these comments I noticed that OpenBao added similar
comments roughly a year ago:
a209a05202

Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
b6e4811eea Avoid unnecessary select since mult() already handles the case that a is zero.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
ec05a6fabc Change multiplication and division functions to no longer use tables.
Copied from
ed08e45069
Please note that Vault at that point in history did not change the license yet,
so using that commit is fine.

Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
8ce11797c1 Replace GF(256) division with a constant time implementation.
Copied from
9510adcb9a.
Please note that Vault at that point in history did not change the license yet,
so using that commit is fine.

Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
8bc5e9281f Remove x coordinate randomization.
This isn't useful for SOPS (see removed comment), and thus only
adds unnecessary complexity. Basically un-does
b4602fc244

Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
572659b3a1 Update x coorindate randomization comment.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-28 07:10:48 +01:00
Felix Fontein
e439a99eb9 Merge pull request #1571 from cgetzen-forks/cg/minimum-sops-config
chore: omitempty metadata to reduce the size of stored config
2025-03-28 07:10:22 +01:00
Charlie Getzen
496b40e2c9 Merge branch 'main' into cg/minimum-sops-config 2025-03-27 23:04:20 -07:00
Felix Fontein
051c1d8edb Merge pull request #1811 from danilobuerger/SOPS_AGE_KEY_CMD
Added SOPS_AGE_KEY_CMD option to age, fixes #1323
2025-03-28 07:03:14 +01:00
Felix Fontein
511bebb4a4 Merge branch 'main' into SOPS_AGE_KEY_CMD 2025-03-28 06:58:14 +01:00