diablodale / pinentry-wsl-ps1

GUI for GPG within Windows WSL for passwords, pinentry, etc.
Mozilla Public License 2.0
98 stars 9 forks source link

Bug fix: Allow backslashes (\) in passwords #5

Open sjroe opened 4 years ago

sjroe commented 4 years ago

echo -e by definition enables the interpretation of backslash escapes. This was to allow to use of \n within the echo commands.

The downside to this is any backslashes within the $credpassword variable also get interpreted corrupting the password.

This change allows backslashes to be used within the $credpassword variable.

kpengboy commented 1 year ago

@diablodale seems reasonable, thoughts?