sops
sops copied to clipboard
sops encrypt decrypt changes json file
using sops to encrypt and decrypt changes the following json { "test": "command < " }
to
{ "test": "command \u003c " }
I understand that \u003c is the unicode for < , but expect sops not to change the output.
sops produces semantically equivalent files. It does not produce exact copies of the input.
If you load both JSON files with a JSON parser, the resuld should be exactly the same.
If you require the format of the JSON file to be unchanged, you should encrypt the JSON as a binary blob, or use another encryption program such as age or gpg.