Closed cdvv7788 closed 1 week ago
Please note that mac_only_encrypted
only exists on the main
branch, but not in a released version so far.
CC @getsops/maintainers
🤦 I didn't check that. The .sops.yaml
file options are mostly undocumented explicitly, so I just assumed this was the case. My bad.
SOPS 3.9.0 is now out, with that this now works: https://github.com/getsops/sops/releases/tag/v3.9.0
I am trying to setup my
.sops.yaml
file to ignore unencrypted data.Currently I am trying:
I am using that option based on what I found here https://github.com/getsops/sops/blob/main/config/config.go#L151
I can encrypt normally, but changing a value that is not encrypted is returning:
Is this an example of bad usage? In that case, can you please document the proper usage?
To reproduce using
sops==3.8.1
:Create a test file named
test.yaml
:sops -e -i test.yaml
Modify the public value that is not encrypted:
Try to decrypt using
sops -d test.yaml
and get the error: