Description
(I mentioned this to a maintainer at Kubecon EU 2025, I thought I'd file an issue too).
SOPS is great in that the structure of a file is kept after encryption. It makes it easy for a user to see what the outputted file will be without having to decrypt it.
The problem with this is that if someone wants to delete a line, they assume they can do so without using sops to decrypt/encrypt the file. Editing a file without using sops results in the file being invalid.
It would be nice if sops provided a way to checksum/validate the content of a file without the need for a decryption key.
May be sops can store a hash of the encrypted portion of the file in the sops portion, and a new "validate" option added to the CLI allowing for ensuring the file is valid without the decryption key.