Send the --no-auto-key-retrieve argument to gpg so that we don't have to
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 5 Jul 2001 20:07:46 +0000 (20:07 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 5 Jul 2001 20:07:46 +0000 (20:07 +0000)
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

* camel-pgp-context.c (pgp_verify): Send the
--no-auto-key-retrieve argument to gpg so that we don't have to
worry about gpg hanging if it can't connect to the key servers,
because now it shouldn't even attempt to.

camel/ChangeLog
camel/camel-pgp-context.c

index 7481dca..e1ef7e6 100644 (file)
@@ -1,3 +1,10 @@
+2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>
+
+       * camel-pgp-context.c (pgp_verify): Send the
+       --no-auto-key-retrieve argument to gpg so that we don't have to
+       worry about gpg hanging if it can't connect to the key servers,
+       because now it shouldn't even attempt to.
+
 2001-07-05  Chris Toshok  <toshok@ximian.com>
 
        * camel-tcp-stream-openssl.c (ssl_verify): use
index a3945a2..6651b0b 100644 (file)
@@ -901,6 +901,7 @@ pgp_verify (CamelCipherContext *ctx, CamelCipherHash hash, CamelStream *istream,
                argv[i++] = "--verify";
                
                argv[i++] = "--no-tty";
+               argv[i++] = "--no-auto-key-retrieve";
                /*argv[i++] = "--verbose";*/
                /*argv[i++] = "--yes";*/
                /*argv[i++] = "--batch";*/