From: unknown Date: Thu, 6 Oct 2011 00:44:46 +0000 (-0500) Subject: Import version as of 2011-10-05 for upload-ftp-v1.1.pl X-Git-Tag: 20200730__import~19 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8bdf516e167b372795b39311f30dea45e4fc5d7c;p=gatekeeper.git Import version as of 2011-10-05 for upload-ftp-v1.1.pl --- diff --git a/upload-ftp-v1.1.pl b/upload-ftp-v1.1.pl index 358d32a..bdca276 100755 --- a/upload-ftp-v1.1.pl +++ b/upload-ftp-v1.1.pl @@ -931,6 +931,11 @@ sub check_files { # Verify that the file has been correctly signed with a valid signature. my @verify_args = ("/usr/bin/gpgv", "--keyring", $keyring, $sig_file, $upload_file); + + my $verify_str = join(' ',@verify_args); + ($verify_str) = $verify_str =~ /^(.*)$/; + ftp_syslog('info',"$verify_str\n") if ($DEBUG > 0); + if (!system (@verify_args)) { $valid = 1; last;