From: Michael K. <mic...@ip...> - 2018-01-22 19:23:06
|
Thanks Lonnie Good to know. Regards Michael Knill On 23/1/18, 4:25 am, "Lonnie Abelbeck" <li...@lo...> wrote: On Jan 21, 2018, at 10:43 PM, Michael Knill <mic...@ip...> wrote: > Hi Devs > > Found a bug with ipsec.php where a $ in the preshare key will not get written into /etc/psk.txt > Simple workaround but it caught me out ☹ > > Regards > Michael Knill Yes, shell special characters are not allowed (stripped) in the IPSEC_PSK_ASSOCIATIONS structure, that decision was make long-long ago before I was actively involved with AstLinux. We do support shell special characters (properly escaped) in a few select cases, such as for these rc.conf variables: -- PPPOEPASS SMTP_PASS DDPASS UPS_MONITOR_PASS -- But that solution does not easily translate to the IPSEC_PSK_ASSOCIATIONS case. Though, I'm not aware of a "simple" workaround other than choosing a new password, possibly from the output of "openssl rand -base64 33" Lonnie ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel |