manifoldco/torus-cli

Secret with trailing "&" not saving properly

Closed this issue · 3 comments

I have a password ending with a trailing & which causes torus to not save it correctly (it gets saved without the ampersand)

Are you quoting the value ? (E.g. Torus set x "u&")

Bash may be interpreting the &

I'm not. Should I quote strings from now on when setting them as secrets?

Yes, if characters are present that would need to be bash escaped.