pinentry-wsl-ps1 icon indicating copy to clipboard operation
pinentry-wsl-ps1 copied to clipboard

Bug fix: Allow backslashes (\) in passwords

Open sjroe opened this issue 5 years ago • 1 comments
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.

sjroe avatar Jun 05 '20 07:06 sjroe

@diablodale seems reasonable, thoughts?

kpengboy avatar Nov 09 '23 22:11 kpengboy