Skip to content

Commit

Permalink
Less confusing documentation for torpassword
Browse files Browse the repository at this point in the history
The current documentation leads the reader to think `hash-password` is an other option.
This change is less confusing and make it clear how to use this option.
  • Loading branch information
blob42 authored and fanquake committed Nov 26, 2018
1 parent 327129f commit 6c6ee8a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/tor.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,13 @@ preconfigured and the creation of a hidden service is automatic. If permission p
are seen with `-debug=tor` they can be resolved by adding both the user running Tor and
the user running bitcoind to the same group and setting permissions appropriately. On
Debian-based systems the user running bitcoind can be added to the debian-tor group,
which has the appropriate permissions. An alternative authentication method is the use
of the `-torpassword` flag and a `hash-password` which can be enabled and specified in
Tor configuration.
which has the appropriate permissions.

An alternative authentication method is the use
of the `-torpassword=password` option. The `password` is the clear text form that
was used when generating the hashed password for the `HashedControlPassword` option
in the tor configuration file. The hashed password can be obtained with the command
`tor --hash-password password` (read the tor manual for more details).

## 4. Privacy recommendations

Expand Down

0 comments on commit 6c6ee8a

Please sign in to comment.