From: joey <> Date: Thu, 18 Nov 2004 12:55:54 +0000 (+0000) Subject: Speed up the response by not checking each and every key anymore X-Git-Tag: release-0.3.33~98 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=7920edc2e6f51c97c991cf05ba53ad13417cf305 Speed up the response by not checking each and every key anymore --- diff --git a/Util.pm b/Util.pm index 8efabfb..b4b1e61 100644 --- a/Util.pm +++ b/Util.pm @@ -190,7 +190,7 @@ sub FetchKey { $fingerprint = "0x".$fingerprint; $/ = undef; # just suck it up .... - open(FP, "$config{gpg} --no-options --no-default-keyring $keyringparam --check-sigs --fingerprint $fingerprint|"); + open(FP, "$config{gpg} --no-options --no-default-keyring $keyringparam --list-sigs --fingerprint $fingerprint|"); $out = ; close FP; open(FP, "$config{gpg} --no-options --no-default-keyring $keyringparam --export -a $fingerprint|");