Skip to content

Fix INI store no longer double-encoding newlines#2189

Open
felixfontein wants to merge 2 commits into
getsops:mainfrom
felixfontein:ini-store
Open

Fix INI store no longer double-encoding newlines#2189
felixfontein wants to merge 2 commits into
getsops:mainfrom
felixfontein:ini-store

Conversation

@felixfontein
Copy link
Copy Markdown
Contributor

Fixes #2188.

The new version now handles files created by SOPS < 3.13.0 and files created by SOPS 3.13.0 / 3.13.1. The format written can be read by SOPS < 3.13.0.

This re-adds double escaping for metadata. Also files written with
SOPS 3.13.0 and 3.13.1, which do not use double escaping, can still
be read.

Signed-off-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Felix Fontein <felix@fontein.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v3.13.0 regression: can't decrypt INI files written by earlier versions; DecodeNewLines was dropped in #2120

1 participant