Home GnuPG
Diffusion GnuPG 288c9919dc45

dirmngr: Change to new ADNS Tor mode init scheme.
288c9919dc45Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Change to new ADNS Tor mode init scheme.

* dirmngr/dns-stuff.c (tor_credentials): New.
(enable_dns_tormode): Add arg new_circuit and update tor_credentials.
(my_adns_init): Rework to set Tor mode using a config file options and
always use credentials.
* dirmngr/server.c (cmd_dns_cert): Improve error message.
* dirmngr/t-dns-stuff.c (main): Add option --new-circuit.

Note that the option --new-circuit in t-dns-stuff is not really useful
because a new circuit is also used for the first call to the function.

Todo: We need to find a policy when to requrest a new curcuit and we

also need to add credentials to the assuan_sock_connect calls.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 9 2015, 8:44 PM
Parents
rGf92e95175e90: dirmngr: Improve detection of ADNS.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG288c9919dc45: dirmngr: Change to new ADNS Tor mode init scheme. (authored by Werner Koch <wk@gnupg.org>).Nov 9 2015, 8:44 PM