From 39f91304482229e7fa631f64aecdcef96149122e Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 15 Dec 2015 15:31:12 -0200 Subject: Retire verify_digital_signature() and pubkey.pem --- src/etc/inc/util.inc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/etc/inc/util.inc') diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index d372be7..8a9590a 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -57,7 +57,7 @@ */ /* pfSense_BUILDER_BINARIES: /bin/ps /bin/kill /usr/bin/killall /sbin/ifconfig /usr/bin/netstat - pfSense_BUILDER_BINARIES: /usr/bin/awk /sbin/dmesg /sbin/ping /usr/local/sbin/gzsig /usr/sbin/arp + pfSense_BUILDER_BINARIES: /usr/bin/awk /sbin/dmesg /sbin/ping /usr/sbin/arp pfSense_BUILDER_BINARIES: /sbin/conscontrol /sbin/devd /bin/ps pfSense_MODULE: utils */ @@ -1582,17 +1582,6 @@ function alias_expand_urltable($name) { return null; } -/* verify (and remove) the digital signature on a file - returns 0 if OK */ -function verify_digital_signature($fname) { - global $g; - - if (!file_exists("/usr/local/sbin/gzsig")) { - return 4; - } - - return mwexec("/usr/local/sbin/gzsig verify {$g['etc_path']}/pubkey.pem < " . escapeshellarg($fname)); -} - /* obtain MAC address given an IP address by looking at the ARP table */ function arp_get_mac_by_ip($ip) { mwexec("/sbin/ping -c 1 -t 1 " . escapeshellarg($ip), true); -- cgit v1.1