getsops / getsops/sops

sops encrypt decrypt changes json file

Open
#1,106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Reproduce the encrypt/decrypt cycle with the provided JSON sample, identify the JSON serialization path responsible for the added escaping, and add a regression test that verifies the expected output representation is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, json
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.