dirmngr: Support Tor hidden services.
authorWerner Koch <wk@gnupg.org>
Mon, 26 Oct 2015 15:32:03 +0000 (16:32 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 26 Oct 2015 15:34:19 +0000 (16:34 +0100)
commit4524a2a3714f263d56bb7db349c169b456994fd9
tree42196995be5336dad31f93d87603124a83644a00
parent7735bbe539af35ce16e270946d5ae798c5989d6e
dirmngr: Support Tor hidden services.

* dirmngr/dns-stuff.c (is_onion_address): New.
* dirmngr/ks-engine-hkp.c (hostinfo_s): Add field "onion".
(map_host): Special case onion addresses.
(ks_hkp_print_hosttable): Print an 'O' for an onion address.
* dirmngr/http.c (connect_server): Special case onion addresses.
--

Note that this requires the latest libassuan from git.  Onion addresses
are always support regardless of the --use-tor flag.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dns-stuff.c
dirmngr/dns-stuff.h
dirmngr/http.c
dirmngr/ks-engine-hkp.c