hcl icon indicating copy to clipboard operation
hcl copied to clipboard

App#save_password: Shell escape password

Open teddywing opened this issue 7 years ago • 0 comments

Escape special shell characters so that passwords with single quotes can be saved to the keychain. Otherwise, the single quotes surrounding the "-w '%s'" cause an error on passwords with single quotes.

I know testing private methods is not recommended, but this seemed like something that would be good to test. Maybe the method should be made public if that's a concern?

teddywing avatar Jan 28 '18 23:01 teddywing