mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
dirmngr: Make clear that --use-tor is not yet ready for use.
* dirmngr/dirmngr.c (main): Print a warning if --use-tor has been given. * tools/gpgconf-comp.c (gc_options_dirmngr): Make --use-tor invisible.
This commit is contained in:
parent
7392d30182
commit
438730323a
@ -960,6 +960,14 @@ main (int argc, char **argv)
|
|||||||
log_info ("NOTE: this is a development version!\n");
|
log_info ("NOTE: this is a development version!\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (opt.use_tor)
|
||||||
|
{
|
||||||
|
log_info ("WARNING: ***************************************\n");
|
||||||
|
log_info ("WARNING: TOR mode (--use-tor) DOES NOT YET WORK!\n");
|
||||||
|
log_info ("WARNING: ***************************************\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Print a warning if an argument looks like an option. */
|
/* Print a warning if an argument looks like an option. */
|
||||||
if (!opt.quiet && !(pargs.flags & ARGPARSE_FLAG_STOP_SEEN))
|
if (!opt.quiet && !(pargs.flags & ARGPARSE_FLAG_STOP_SEEN))
|
||||||
{
|
{
|
||||||
|
@ -236,6 +236,12 @@ sufficient.
|
|||||||
Enabling this option forces loading of expired CRLs; this is only
|
Enabling this option forces loading of expired CRLs; this is only
|
||||||
useful for debugging.
|
useful for debugging.
|
||||||
|
|
||||||
|
@item --use-tor
|
||||||
|
@opindex use-tor
|
||||||
|
This options is not yet functional! It will eventually switch GnuPG
|
||||||
|
into a TOR mode to route all network access via TOR (an anonymity
|
||||||
|
network).
|
||||||
|
|
||||||
@item --disable-ldap
|
@item --disable-ldap
|
||||||
@opindex disable-ldap
|
@opindex disable-ldap
|
||||||
Entirely disables the use of LDAP.
|
Entirely disables the use of LDAP.
|
||||||
|
@ -911,7 +911,7 @@ static gc_option_t gc_options_dirmngr[] =
|
|||||||
{ "TOR",
|
{ "TOR",
|
||||||
GC_OPT_FLAG_GROUP, GC_LEVEL_BASIC,
|
GC_OPT_FLAG_GROUP, GC_LEVEL_BASIC,
|
||||||
"gnupg", N_("Options controlling the use of TOR") },
|
"gnupg", N_("Options controlling the use of TOR") },
|
||||||
{ "use-tor", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC,
|
{ "use-tor", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
|
||||||
"dirmngr", "route all network traffic via TOR",
|
"dirmngr", "route all network traffic via TOR",
|
||||||
GC_ARG_TYPE_NONE, GC_BACKEND_DIRMNGR },
|
GC_ARG_TYPE_NONE, GC_BACKEND_DIRMNGR },
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user