Skip to content

Tor Setup

Josh Jeffryes edited this page Oct 27, 2017 · 11 revisions

If you want to use Tor with OpenBazaar, there are a few steps that are needed to set it up properly.

Windows paths assume you are using the C drive. Replace C with the correct letter if a different drive is your primary hard drive.

  1. Downloaded Tor browser installer

  2. Install the Tor browser bundle

(If you are a Linux user and you have not (and don't want to) set a Tor password, you can skip to step 8.)

  1. Open a command/console window and navigate to the location of the Tor executable.
  • Windows: c:\Tor Browser\Browser\TorBrowser\Tor
  • Mac: /Applications/TorBrowser.app/Contents/MacOS/Tor
  1. In the command window enter.
  • Windows: tor --hash-password enterpasswordhere | more (| more is required on Windows to output the hash)
  • Mac: ./tor.real --hash-password enterpasswordhere
  1. You should see an output like 16:BCF18231EF73AA2360B9407F006633D54437D2F8EA9359C80122B0CAB0 Copy that output. Also copy the password you used to generate it. You may want to paste both into a text editor so you can use them in later steps.

  2. Open your torrc file in a text editor.

  • Windows: c:\Tor Browser\Browser\TorBrowser\Data\Tor
  • Mac: ~/Library/Application Support/TorBrowser-Data/Tor
  1. In the torrc file, add these lines:
CookieAuthentication 0
HashedControlPassword 16:BCF18231EF73AA2360B9407F006633D54437D2F8EA9359C80122B0CAB0

On the HashedControlPassword line, use the generated hash you copied in step 5. When you are done save the file.

  1. Ensure no OB server is running.

  2. Start your Tor browser.

  3. Run the OpenBazaar application. It will detect that Tor was running. Check the Use Tor box. If you created a password in step 4, enter the unhashed version into the Tor Password field. Click Save. It should connect to the server. Make sure you see the Tor symbol on the right side of the address bar in the OpenBazaar app.

You can watch a video guide to setting up OpenBazaar to use Tor on Windows here.

You can’t perform that action at this time.