Speed up the response by not checking each and every key anymore
authorjoey <>
Thu, 18 Nov 2004 12:55:54 +0000 (12:55 +0000)
committerjoey <>
Thu, 18 Nov 2004 12:55:54 +0000 (12:55 +0000)
Util.pm

diff --git a/Util.pm b/Util.pm
index 8efabfb..b4b1e61 100644 (file)
--- 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 = <FP>;
   close FP;
   open(FP, "$config{gpg} --no-options --no-default-keyring $keyringparam --export -a $fingerprint|");