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

77 Commits

Author SHA1 Message Date
dependabot[bot]
0a1500bb1f build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.223 to 1.0.226
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.223...v1.0.226)

Updates `serde_derive` from 1.0.223 to 1.0.226
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.223...v1.0.226)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.226
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-version: 1.0.226
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 09:12:44 +00:00
dependabot[bot]
efed567bd0 build(deps): Bump the rust group in /functional-tests with 4 updates
Bumps the rust group in /functional-tests with 4 updates: [tempfile](https://github.com/Stebalien/tempfile), [serde](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json) and [serde_derive](https://github.com/serde-rs/serde).


Updates `tempfile` from 3.21.0 to 3.22.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.21.0...v3.22.0)

Updates `serde` from 1.0.219 to 1.0.223
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.223)

Updates `serde_json` from 1.0.143 to 1.0.145
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.143...v1.0.145)

Updates `serde_derive` from 1.0.219 to 1.0.223
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.223)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: serde
  dependency-version: 1.0.223
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_json
  dependency-version: 1.0.145
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-version: 1.0.223
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 09:23:13 +00:00
Felix Fontein
816b797ccc Improve formatting of floats.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-09-09 20:49:20 +02:00
Felix Fontein
2e2d7d998c Add tests.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-09-09 20:49:20 +02:00
dependabot[bot]
0d15cd8db3 build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [tempfile](https://github.com/Stebalien/tempfile) and [serde_json](https://github.com/serde-rs/json).


Updates `tempfile` from 3.20.0 to 3.21.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

Updates `serde_json` from 1.0.142 to 1.0.143
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.142...v1.0.143)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: serde_json
  dependency-version: 1.0.143
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 21:28:18 +02:00
Felix Fontein
b797304e06 Add --value-stdin option to 'sops set'.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-08-06 08:03:50 +02:00
dependabot[bot]
8eb3a5a4ce build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.140 to 1.0.142
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.140...v1.0.142)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-version: 1.0.142
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 18:28:50 +02:00
Bjørn Forsman
cc4d20751b Add "--value-file" option to "sops set [...]"
This allows running "sops set [...]" without leaking secrets in process
listings.

To read secrets from stdin, use "/dev/stdin" as the file path.

Fixes https://github.com/getsops/sops/issues/729

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
2025-07-18 20:02:14 +02:00
dependabot[bot]
3ae6aa1071 build(deps): Bump tempfile in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.19.1 to 3.20.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 17:47:16 +02:00
dependabot[bot]
3abced220e build(deps): Bump tempfile in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.19.0 to 3.19.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.0...v3.19.1)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 17:59:43 +01:00
dependabot[bot]
71b871651e build(deps): Bump tempfile in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.18.0 to 3.19.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.18.0...v3.19.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 17:37:49 +01:00
dependabot[bot]
5d39c958f6 build(deps): Bump the rust group in /functional-tests with 3 updates
Bumps the rust group in /functional-tests with 3 updates: [tempfile](https://github.com/Stebalien/tempfile), [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `tempfile` from 3.17.1 to 3.18.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.17.1...v3.18.0)

Updates `serde` from 1.0.218 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219)

Updates `serde_derive` from 1.0.218 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 18:16:13 +01:00
dependabot[bot]
4fa0965e28 build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.139 to 1.0.140
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.139...v1.0.140)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 18:17:00 +01:00
Felix Fontein
ca1c8945f7 Allow to encrypt and decrypt from stdin.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-03-01 21:07:52 +01:00
dependabot[bot]
9c5599b498 build(deps): Bump the rust group in /functional-tests with 4 updates
Bumps the rust group in /functional-tests with 4 updates: [tempfile](https://github.com/Stebalien/tempfile), [serde](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json) and [serde_derive](https://github.com/serde-rs/serde).


Updates `tempfile` from 3.17.0 to 3.17.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.17.0...v3.17.1)

Updates `serde` from 1.0.217 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218)

Updates `serde_json` from 1.0.138 to 1.0.139
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.138...v1.0.139)

Updates `serde_derive` from 1.0.217 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 18:05:00 +01:00
dependabot[bot]
3384f6af7e build(deps): Bump tempfile in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.16.0 to 3.17.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.16.0...v3.17.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 17:32:38 +01:00
Felix Fontein
d887433f75 Encrypt and decrypt time.Time objects.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-02-16 14:24:28 +01:00
Felix Fontein
4c7dda8b3f Add --idempotent flag to set subcommand that will not write the file if no change happened.
Signed-off-by: Felix Fontein <felix@fontein.de>
2025-02-15 20:26:27 +01:00
Felix Fontein
50b6afc9c2 Merge branch 'main' into eof-newline 2025-02-15 13:54:00 +01:00
dependabot[bot]
5e6fc0107f build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [tempfile](https://github.com/Stebalien/tempfile) and [serde_json](https://github.com/serde-rs/json).


Updates `tempfile` from 3.15.0 to 3.16.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.15.0...v3.16.0)

Updates `serde_json` from 1.0.137 to 1.0.138
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.137...v1.0.138)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 11:44:51 +01:00
dependabot[bot]
efa3ed451a build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.135 to 1.0.137
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.135...v1.0.137)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 09:28:23 +00:00
dependabot[bot]
ac10dc7891 build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.134 to 1.0.135
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.135)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 17:14:04 +01:00
dependabot[bot]
bd1d827e1a build(deps): Bump tempfile in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.14.0 to 3.15.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.14.0...v3.15.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 20:27:34 +01:00
dependabot[bot]
7c596ebc12 build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.216 to 1.0.217
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217)

Updates `serde_derive` from 1.0.216 to 1.0.217
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-30 09:19:20 +00:00
dependabot[bot]
8021022ba4 build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.133 to 1.0.134
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 09:07:03 +00:00
dependabot[bot]
d6a6dc6128 build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.215 to 1.0.216
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216)

Updates `serde_derive` from 1.0.215 to 1.0.216
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 18:03:36 +01:00
Rene Leonhardt
981c21af15 chore(deps): Update Rust dependencies
Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
2024-12-01 10:52:55 +01:00
dependabot[bot]
a9caa7c174 build(deps): Bump the rust group in /functional-tests with 3 updates
Bumps the rust group in /functional-tests with 3 updates: [serde](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.214 to 1.0.215
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

Updates `serde_json` from 1.0.132 to 1.0.133
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133)

Updates `serde_derive` from 1.0.214 to 1.0.215
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 19:29:21 +01:00
dependabot[bot]
4a36404832 build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.213 to 1.0.214
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214)

Updates `serde_derive` from 1.0.213 to 1.0.214
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 18:10:32 +01:00
dependabot[bot]
90b90ddae1 build(deps): Bump the rust group in /functional-tests with 2 updates
Bumps the rust group in /functional-tests with 2 updates: [serde](https://github.com/serde-rs/serde) and [serde_derive](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.210 to 1.0.213
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213)

Updates `serde_derive` from 1.0.210 to 1.0.213
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 18:33:46 +01:00
dependabot[bot]
a722fb46dc build(deps): Bump serde_json in /functional-tests in the rust group
Bumps the rust group in /functional-tests with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 18:28:27 +02:00
dependabot[bot]
7fb0b991bd build(deps): Bump the rust group in /functional-tests with 5 updates
Bumps the rust group in /functional-tests with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde) | `1.0.193` | `1.0.210` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.108` | `1.0.128` |
| [serde_yaml](https://github.com/dtolnay/serde-yaml) | `0.9.29` | `0.9.34+deprecated` |
| [serde_derive](https://github.com/serde-rs/serde) | `1.0.193` | `1.0.210` |
| [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | `1.4.0` | `1.5.0` |


Updates `serde` from 1.0.193 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.210)

Updates `serde_json` from 1.0.108 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...1.0.128)

Updates `serde_yaml` from 0.9.29 to 0.9.34+deprecated
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.34)

Updates `serde_derive` from 1.0.193 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.210)

Updates `lazy_static` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: lazy_static
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 18:07:18 +03:00
Felix Fontein
afbaf0e3b7 Add Cargo.lock for better reproducability of functional tests.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-09-26 22:20:11 +03:00
Felix Fontein
8c60d48513 Do not encrypt if a key group is empty, or there are no key groups.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-09-25 22:25:37 +03:00
Sebastien Duthil
fa545b142d outputs: add trailing \n at the end of json files
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-09-14 09:25:19 -04:00
Sebastien Duthil
e65e6fa74a functional tests: formatting lint
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-09-11 21:06:33 -04:00
Sebastien Duthil
2d914d2fb0 tests: show output if command fails
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-06-26 10:44:04 +02:00
Sebastien Duthil
3ab8a4fe95 unset: add --idempotent flag
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-06-26 10:44:04 +02:00
Sebastien Duthil
1c2714dc1a add command unset
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-06-26 10:44:04 +02:00
Edoardo Tenani
b8e65f9dd1 add filestatus subcommand
Signed-off-by: Edoardo Tenani <edoardo.tenani@pm.me>
2024-06-23 16:08:33 +02:00
Felix Fontein
daabd14700 Do not use DotEnv store for exec-env.
This avoids quoting problems, fixes #784, and also better handles
various problems that can arise, like '=' in keys and non-string
keys and values.

Signed-off-by: Felix Fontein <felix@fontein.de>
2024-06-15 17:53:38 +02:00
Felix Fontein
417c20a21b If filename is provided for exec-file, use it without random suffix.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-06-11 06:56:11 +02:00
Felix Fontein
bd7ca0f0d7 Add basic functional tests for exec-file and exec-env.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-02-09 22:46:51 +01:00
Felix Fontein
c3abac2a1d Add and use rotate, edit, and set subcommands.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-02-06 15:00:33 +01:00
Felix Fontein
2ae16f5457 Add and use encrypt and decrypt subcommands.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-02-06 15:00:33 +01:00
Felix Fontein
2ca683141d Change double command (--encrypt --set) to single command (--set).
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-29 22:13:33 +01:00
Felix Fontein
2290395f87 Test more status codes.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-29 22:13:33 +01:00
Felix Fontein
d6804fe450 Run cargo fmt.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-29 22:13:33 +01:00
Felix Fontein
09e147f2fb Fix typos.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-11-03 12:32:52 +01:00
Hidde Beydals
1d7fc78a75 Update rustc functional tests to v1.70.0
Bear minimum to get this going again, including an update of
dependencies.

It's worth noting that there is a detachment between the GitHub Action
workflow and running this locally. As there are assumptions around:

1. Having the `pgp/sops_functional_tests_key.asc` imported.
2. Having a Vault server running for two functional tests.

The `functional-tests` Make target does not facilitate this, and
putting something in place using a temporary `GNUPGHOME` and a
container image would likely be a welcome future improvement.

In addition, there is Rust code in `validation/` which appears to be an
artifact from an ancient Python library[1][2]. This should probably be
removed in the future.

[1]: https://github.com/getsops/sops/tree/python-sops
[2]: https://pypi.org/project/sops/

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-07-02 13:37:49 +02:00