cocreators-ee / project-template

Project template for kick-starting your work the right way
Other
5 stars 7 forks source link

Fix handling of newlines in secrets #51

Closed joakimnordling closed 4 years ago

joakimnordling commented 4 years ago

If unsealing secrets and then sealing again with invoke seal-secrets --only-changed multiline secrets (such as PEM keys) were detected as changed if they had been originally sealed on Windows and were unsealed and sealed again on Unix based systems.

lietu commented 4 years ago

Would be nice if this didn't just use this for checking if things have changed, but instead also wrote any NEW secrets with unix line endings

joakimnordling commented 4 years ago

Would be nice if this didn't just use this for checking if things have changed, but instead also wrote any NEW secrets with unix line endings

Good idea. Changed accordingly.