summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-09-30 16:58:10 +0200
committerWerner Koch <wk@gnupg.org>2016-09-30 18:12:44 +0200
commitde67055aff916455cec89fab1d95177d3b383008 (patch)
treefbffe9caa255b913d55209c5003ec87a12fb8c3c /tools
parentbuild: Fix build against libiconv. (diff)
downloadgnupg2-de67055aff916455cec89fab1d95177d3b383008.tar.xz
gnupg2-de67055aff916455cec89fab1d95177d3b383008.zip
wks: Avoid long trustdb checks.
* tools/wks-receive.c (verify_signature): Use --always-trust. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/wks-receive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/wks-receive.c b/tools/wks-receive.c
index 0deca9b20..7292cff18 100644
--- a/tools/wks-receive.c
+++ b/tools/wks-receive.c
@@ -164,6 +164,7 @@ verify_signature (receive_ctx_t ctx)
ccparray_put (&ccp, "--verbose");
ccparray_put (&ccp, "--enable-special-filenames");
ccparray_put (&ccp, "--status-fd=2");
+ ccparray_put (&ccp, "--always-trust"); /* To avoid trustdb checks. */
ccparray_put (&ccp, "--verify");
ccparray_put (&ccp, "--");
ccparray_put (&ccp, "-&@INEXTRA@");