Files
bpfire/html/cgi-bin
Adolf Belka 9d8d74e8e7 vpnmain.cgi: Fix for bug13029 - add base64 encoding to IPSec cgi page
- This adds the base64 encoded PSK into the config file and when the ipsec.secrets file
   is created the PSK is base64 decoded to write it to the file. The ipsec.secrets file
   surrounds the PSK with single quotation marks so that character is not allowed to be
   used in the PSK but anything else can be.
- Tested out on my vm system and shown to be working. New PSK with various characters
   characters including commas was base64 encoded before putting into the config file
   and therefore was accepted by the code. If a single quotation mark was used in the
   PSK then the error message about invalid characters was shown.

Fixes: Bug13029
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-22 14:21:53 +00:00
..
2024-09-16 14:48:50 +00:00
2021-07-07 09:34:31 +00:00
2021-07-09 12:56:17 +00:00
2023-03-13 21:37:39 +00:00
2021-06-10 14:30:53 +01:00
2021-04-08 10:11:34 +00:00
2024-02-11 11:27:48 +01:00
2024-04-27 19:43:33 +02:00
2024-02-10 12:00:18 +00:00
2024-09-21 12:27:54 +00:00