oknozor / toml-bombadil

A dotfile manager with templating
MIT License
233 stars 24 forks source link

[BUG][Wrong baking of gpg secret into config file using tera templating functionallity] #299

Open dydyamotya opened 4 weeks ago

dydyamotya commented 4 weeks ago

Describe the bug Somehow tera began to treat newlines in my GPG key for qutebrowser as new line and stops including it fully to config.

To Reproduce

  1. Make GPG secret
  2. Include it with {{secret}} into one of your config files
  3. Re-link bombadil
  4. Run app using generated config file with error

Expected behavior Just include newlines into the string

Is it the problem of tera templating library or the bombadil-specific issue?