From 1c09ab1f6474f72633c8ab5c63defed993b29ae5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 5 Jul 2001 20:07:46 +0000 Subject: [PATCH] Send the --no-auto-key-retrieve argument to gpg so that we don't have to 2001-07-05 Jeffrey Stedfast * 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 | 7 +++++++ camel/camel-pgp-context.c | 1 + 2 files changed, 8 insertions(+) diff --git a/camel/ChangeLog b/camel/ChangeLog index 7481dca..e1ef7e6 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,10 @@ +2001-07-05 Jeffrey Stedfast + + * 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 * camel-tcp-stream-openssl.c (ssl_verify): use diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c index a3945a2..6651b0b 100644 --- a/camel/camel-pgp-context.c +++ b/camel/camel-pgp-context.c @@ -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";*/ -- 2.7.4