pinentry-wsl-ps1
pinentry-wsl-ps1 copied to clipboard
Bug fix: Allow backslashes (\) in passwords
trafficstars
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.
@diablodale seems reasonable, thoughts?