Home GnuPG
Diffusion GnuPG 6983fd131f64

dirmngr: Make --use-tor work - still leaks DNS.
6983fd131f64Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Make --use-tor work - still leaks DNS.

* dirmngr/dirmngr.c (set_tor_mode): New.
(main, reread_configuration): Call it.
* dirmngr/http.c (http_raw_connect, send_request): Check whether TOR
mode is enabled if the FORCE_TOR flag is given.

The patch for http.c is a sanity check because tor mode is anyway
global as long as the Assuan socket wrappers are used.

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

Details

Provenance
wernerAuthored on Oct 19 2015, 1:12 PM
Parents
rG8c609eaf35b5: dirmngr: Use Assuan socket wrappers for http.c
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG6983fd131f64: dirmngr: Make --use-tor work - still leaks DNS. (authored by Werner Koch <wk@gnupg.org>).Oct 19 2015, 1:17 PM