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
Andrew Block
fd95030349
Merge pull request #1794 from matheuscscp/gcp-kms-token-source
...
Add support for `oauth2.TokenSource` in GCP KMS
2025-03-27 17:51:34 -05:00
Matheus Pimenta
cac6e62e1a
Add support for oauth2.TokenSource in GCP KMS
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-03-27 20:52:19 +00:00
Felix Fontein
5355c249aa
Merge pull request #1793 from felixfontein/filename-override-abs
...
If --filename-override is specified, convert it to an absolute path same as regular filenames
2025-03-26 17:39:07 +01:00
Felix Fontein
965615afd8
If --filename-override is specified, convert it to an absolute path same as regular filenames.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 21:07:41 +01:00
Felix Fontein
cc3a76a560
Merge pull request #1631 from felixfontein/updatekeys-shamir
...
updatekeys subcommand: rename GroupQuorum to ShamirThreshold
2025-03-25 20:44:11 +01:00
Felix Fontein
ac0856034c
Rename GroupQuorum to ShamirThreshold.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:39:34 +01:00
Felix Fontein
4d85fd35f4
Merge pull request #1780 from felixfontein/lint
...
Lint
2025-03-25 20:39:11 +01:00
Felix Fontein
df8432b5be
Remove no longer necessary random init.
...
Ref: https://pkg.go.dev/math/rand#Seed
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
dff373e852
Provide formatting string.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
060f7a45c4
Stop using deprecated grpc.Dial(), use grpc.NewClient() instead.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
a7d72cecd2
Remove unnecessary nil checks.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
92e63d0910
Remove dead code.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
aaf6590f45
Replace testing-only environment variable with regular variable.
...
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:34:48 +01:00
Felix Fontein
f6bc6df54e
Merge pull request #1781 from felixfontein/datakey-caching
...
Fix caching of Metadata.DataKey
2025-03-25 20:34:30 +01:00
Felix Fontein
b09f60e9db
Fix caching of Metadata.DataKey.
...
At the end of the function, the key was stored in m.DataKey. Since m was a copy
of the called object, this did not cache anything.
Signed-off-by: Felix Fontein <felix@fontein.de >
2025-03-25 20:30:22 +01:00
Danilo Bürger
6c88a9d9a8
Use shlex instead of shellquote
...
Signed-off-by: Danilo Bürger <danilo.buerger@helsing.ai >
2025-03-24 20:22:24 +01:00
Felix Fontein
9b4714d619
Merge pull request #1779 from felixfontein/config
...
Support --config option in publish subcommand
2025-03-24 18:24:30 +01:00