Repository navigation
Conversation
|
Independently verified the fix against the reported case: on current main the round trip collapses the three Two smaller things I noticed while testing:
|
Allow duplicate keys when parsing and encoding INI files, and expand shadow values into separate SOPS tree items. This preserves repeated keys across an encrypt/decrypt round trip. Assisted-by: OpenAI Codex Signed-off-by: June Yi <june.yi@samsung.com>
Move the key comment outside the ValueWithShadows loop so it is added to the SOPS tree only once for repeated keys. Add a regression test for the reported case. Assisted-by: OpenAI Codex Signed-off-by: June Yi <june.yi@samsung.com>
9429a08 to
9ab57ed
Compare
|
Thanks for the review. I moved the For the ordering point, I checked I ran |
Summary
Fixes #2314
Tests
go test ./stores/...— passed.go vet ./stores/ini— passed.go test -race -coverprofile=profile.out -covermode=atomic ./...— passed.