Home GnuPG
Diffusion GnuPG d5a3142b8f2e

gpg: Report a conflict between honor-keyserver-url and TOR.
d5a3142b8f2eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Report a conflict between honor-keyserver-url and TOR.

* g10/call-dirmngr.c (create_context): Send option and print a verbose
error.

It is in general a bad idea to use honor-keyserver-url but if Dirmngr
is running in TOR mode we should not allow this option at all. We let
Dirmngr know about the use of this option and let Dirmngr tell use
whether TOR mode is active so that we can print a hint to disable that
keyserver option.

A future extension in gpgconf may disable that option directly but a
user may still override that and thus we better check.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 18 2015, 4:07 PM
Parents
rGb4bc1c8b10c7: http: Add flag to force use of TOR (part 1)
Branches
Unknown
Tags
Unknown

Event Timeline