"#" in value of key is treated like a comment in ini file after decrypting
Open
Nobody has claimed this yet.
area/stores
stores/ini
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
I have a key pair:
secret = here#there
after encrypting, and then decrypting:
secret = here
;there
How do I keep hashes and other special characters in the value. This does not happen in json. I have sops 3.7.3.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing the encrypt/decrypt flow with the shown INI value and inspect the INI parsing and serialization path; done means decrypting preserves the '#' and other special characters in the value instead of turning them into a comment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100