From 075721b1e3cdf77a9e4691aa894f3c3ce391e344 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Fri, 11 Apr 2014 14:56:44 -0500 Subject: trim sha256 client-side on AutoConfigBackup, bump version --- config/autoconfigbackup/autoconfigbackup.php | 2 +- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index 69ac3e03..20f5f741 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -194,7 +194,7 @@ function get_hostnames() { "&revision=" . urlencode($_REQUEST['newver'])); $data = curl_exec($curl_session); $data_split = split("\+\+\+\+", $data); - $sha256 = $data_split[0]; // sha256 + $sha256 = trim($data_split[0]); // sha256 $data = $data_split[1]; if (!tagfile_deformat($data, $data, "config.xml")) $input_errors[] = "The downloaded file does not appear to contain an encrypted pfSense configuration."; diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 3110c7fd..869c2fe4 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -670,7 +670,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires pfSense Premium Support Portal Subscription from https://portal.pfsense.org https://portal.pfsense.org Services - 1.22 + 1.23 Stable 2.2 https://doc.pfsense.org/index.php/AutoConfigBackup diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 62c39c74..6105f136 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -921,7 +921,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires pfSense Premium Support Portal Subscription from https://portal.pfsense.org https://portal.pfsense.org Services - 1.22 + 1.23 Stable 1.2 https://doc.pfsense.org/index.php/AutoConfigBackup diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 51ab85b5..404d0967 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -908,7 +908,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires pfSense Premium Support Portal Subscription from https://portal.pfsense.org https://portal.pfsense.org Services - 1.22 + 1.23 Stable 1.2 https://doc.pfsense.org/index.php/AutoConfigBackup -- cgit v1.2.3