-
Notifications
You must be signed in to change notification settings - Fork 186
Tor Setup
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.
-
Downloaded Tor browser installer
-
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.)
- 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
- 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
-
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.
-
Open your torrc file in a text editor.
- Windows: c:\Tor Browser\Browser\TorBrowser\Data\Tor
- Mac: ~/Library/Application Support/TorBrowser-Data/Tor
- 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.
-
Ensure no OB server is running.
-
Start your Tor browser.
-
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.