tasket / Qubes-vpn-support

VPN configuration in Qubes OS
GNU General Public License v3.0
126 stars 28 forks source link

Special chars not saved in password file, causing auth errors #42

Closed tasket closed 5 years ago

tasket commented 5 years ago

If a password contains special characters such as backslash '\' these won't be saved correctly to the userpassword.txt file, resulting in an inability to connect due to authentication errors.

The fix for this uses <<< redirection, so the entire qubes-vpn-setup script must run in bash now (otherwise, sh will report syntax errors even if it doesn't execute the code).