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

227 Commits

Author SHA1 Message Date
Felix Fontein
6cfb8ed9b6 Update documentation.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-06-27 09:21:08 +02:00
Mitar
f63e844206 Support using comments to select parts to encrypt
Signed-off-by: Mitar <mitar.git@tnode.com>
2024-06-27 09:21:08 +02:00
Sebastien Duthil
1c2714dc1a add command unset
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
2024-06-26 10:44:04 +02:00
Devin Stein
0fbab615a7 Merge branch 'main' into main 2024-06-10 16:44:43 -07: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
Tomasz Duda
f1995a497e update documentation for age
Signed-off-by: Tomasz Duda <tomaszduda23@gmail.com>
2023-12-30 07:13:20 +01:00
Boris Kreitchman
c822b55290 Sort masterkeys according to decryption-order
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Bastien Wermeille <bastien.wermeille@gmail.com>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Signed-off-by: Boris Kreitchman <bkreitch@gmail.com>
2023-12-18 08:38:43 +01:00
Felix Fontein
2678f2dd9b Wrap lines.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-16 18:40:48 +01:00
Felix Fontein
c60ab80c1e Document how to encrypt and decrypt via pipes.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-16 18:40:48 +01:00
Felix Fontein
988c7bfc89 Indent is used both for encryption and decryption
Also the indent for YAML files is limited to 2..9 by the YAML library used.

Signed-off-by: Felix Fontein <felix@fontein.de>
2023-12-15 20:20:23 +01:00
Bastien
42018ef4a5 Add indentation settings for json_binary
Signed-off-by: Bastien <bastien.wermeille@gmail.com>
2023-11-24 07:41:14 +01:00
Bastien
9d20985c58 Improve documentation
Signed-off-by: Bastien <bastien.wermeille@gmail.com>
2023-11-24 07:41:14 +01:00
Bastien Wermeille
755c16d49c Allow no indent at all for json store
Signed-off-by: Bastien Wermeille <bastien.wermeille@gmail.com>
2023-11-24 07:41:14 +01:00
Bastien Wermeille
c6dc5267e5 Indentation of json files
Signed-off-by: Bastien Wermeille <bastien.wermeille@gmail.com>
2023-11-24 07:41:14 +01:00
Bastien Wermeille
27f40497e8 Add documentation
Signed-off-by: Bastien Wermeille <bastien.wermeille@gmail.com>
2023-11-24 07:41:14 +01:00
Felix Fontein
f9d3db5ec6 Correctly tag code as yaml-stream
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-11-13 21:00:36 +01:00
Mitar
051ce028c9 Support computing MAC only over values which end up encrypted
Signed-off-by: Mitar <mitar.git@tnode.com>
2023-11-07 11:59:08 +01:00
Bastien Wermeille
618226ea43 Improve README.rst
Signed-off-by: Bastien Wermeille <bastien.wermeille@gmail.com>
2023-11-03 07:36:16 +01:00
Benjamin Ludewig
75137322d5 docs: add aws_profile to creation_rules examples
Signed-off-by: Benjamin Ludewig <benjamin.ludewig@neuland-bfi.de>
2023-10-13 16:14:32 +02:00
Felix Fontein
e156e92034 Change some SOPSs back to sops.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-10-10 22:41:46 +02:00
Felix Fontein
959b7ed77a Normalize SOPS usages.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-10-10 07:44:34 +02:00
Felix Fontein
acb3b2fabf Normalize indentation for code blocks and YAML files.
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-10-10 07:17:48 +02:00
Felix Fontein
0d6c45734d Improve RST files (with rstcheck feedback).
Signed-off-by: Felix Fontein <felix@fontein.de>
2023-10-10 01:04:32 +02:00
Norman Santiago
c6c9ba5f52 docs: document AWS environment variables
Signed-off-by: Norman Santiago <nsantiago2719@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
2023-10-10 00:07:58 +02:00
Henning Ramberger
3b57debd9d Add documentation on how to use age in.sops.yaml
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Signed-off-by: Henning Ramberger <github@hramberger.de>
2023-08-16 19:32:17 +02:00
Hamish Robertson
208c7da142 Add missing --encrypt flag from Vault example 2023-08-15 01:05:10 +02:00
Hidde Beydals
68e1552b32 docs: add note to motivation section
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:34 +02:00
Hidde Beydals
74ab058e97 docs: add CNCF footer
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:33 +02:00
Hidde Beydals
5c9aa105a2 docs: update security section
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:33 +02:00
Hidde Beydals
046d6e426f docs: update authors section in README
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:32 +02:00
Hidde Beydals
b3edfc2a89 docs: update contributing guidelines
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:32 +02:00
Hidde Beydals
157493f706 docs: rename mozilla/sops -> getsops/sops
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-14 22:46:32 +02:00
Hidde Beydals
a0e828299f docs: update Azure default credential chain info
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-12 12:16:32 +02:00
Hidde Beydals
f2a1d4c782 Rename Go module to github.com/getsops/sops/v3
This commit renames the Go module from `go.mozilla.org/sops/v3` to
`github.com/getsops/sops/v3` without a major version bump, to align
with new stewardship.

For more information around this change, refer to
https://github.com/getsops/sops/issues/1246.

For a one-liner to change the `go.mod` and any import paths in your
Go project making use of this module, run:

```
find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \;
find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i '' 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \;
```

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-07-31 22:51:36 +02:00
Hidde Beydals
50064ee947 docs: update Azure Key Vault entry
The generated password from `az` does no longer appear to be a UUID,
but returns a random generated string instead.

Given there is also a UUID attached to Secret object that holds this
value, it is better to be explict to guide users.

In addition, the tenant is always a UUID (and not _any_ ID).

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-07-03 21:34:58 +02:00
Hidde Beydals
bef669180f docs: update section on Azure KV credentials
Plus update mention of Go version requirement.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-02 22:31:18 +02:00
AJ Bahnken
d6bc216a86 README and author tweaks
* Remove ulfr and autrilla as core maintainers
* Update badges, we no longer us travis-ci
* Remove python docs, especially as it has not been maintained for years
* Fix dev install instructions
2022-03-03 09:38:54 -08:00
AJ Bahnken
dff9c31411 Merge branch 'develop' into sops-age-key-env 2022-03-01 10:22:01 -08:00
Christian Hoffmeister
6bfd72d57b Merge remote-tracking branch 'origin/develop' into sops-age-key-env 2022-02-24 10:09:38 +01:00
AJ Bahnken
5dfbe1e223 Merge pull request #883 from Enrico204/readme-remove-gpg-server-env-var
Remove SOPS_GPG_KEYSERVER reference in README.rst
2022-02-23 16:07:13 -08:00
AJ Bahnken
c310cdd6da Merge pull request #967 from brant4test/master
fix a typo
2022-02-23 15:53:57 -08:00
Christian Hoffmeister
086c11d09b Support SOPS_AGE_KEY environment variable 2022-02-14 22:18:05 +01:00
brant4test
f6e98911e0 fix a typo 2021-12-12 16:09:50 +08:00
Enrico204
688fa225ba Remove SOPS_GPG_KEYSERVER reference in README.rst 2021-06-03 23:51:24 +02:00
Alexey Odinokov
3acf53e7d9 Correct path to age keys.txt in documentation (#861)
corrected path to keys based on the real behavior. see [1]

[1]
https://github.com/mozilla/sops/blob/master/age/keysource.go#L108
2021-04-23 07:51:02 +02:00
Damien Léger
762639996d fix missing argument in encrypting with age section (#860) 2021-04-20 11:36:08 +02:00
Paulo Lieuthier
c5b1298cd8 Match file path relative to config file's directory (2) (#853)
* Match file path relative to config file's directory

* Update README.rst
2021-04-12 13:29:06 +02:00
AJ Bahnken
53c53732e9 Merge pull request #771 from SKalt/patch-1
Correct markdown link in README.rst to a rst link
2021-03-24 13:55:07 -07:00
AJ Bahnken
43eafacf05 Merge pull request #825 from stealthybox/readme-fixanchor
Fix broken sops config anchor in README
2021-03-24 12:53:49 -07:00