realestate-com-au / shush

It's a secret.
169 stars 36 forks source link

Add a flag to trim whitespace when encrypting #17

Closed rbvigilante closed 4 years ago

rbvigilante commented 4 years ago

We use shush quite a lot at Redbubble. The most common issue we see comes when someone accidentally encrypts some whitespace, either by a) copying a string from a web form or b) pipes output from a shell command which automatically adds a newline.

Not sure if you consider this to be within the scope of the tool (totally understand if not!), but we thought it might make sense to have a flag in shush to (optionally, of course) trim whitespace when encrypting strings.

Let me know if you have any questions.