Probably doing something very silly here, but I\'m having some trouble authenticating automatically through Tor.
I\'m using 32 bit ubuntu 12.04 with obfuscated bridg
That error means that you set the HashedControlPassword option in your torrc. I would suggest option for CookieAuthentication 1
instead then using a controller library rather than doing this from scratch.
What you're trying to do here (issue a NEWNYM) is a very, very common request (1, 2) so I just added a FAQ entry for it. Here's an example using stem...
from stem import Signal
from stem.control import Controller
with Controller.from_port(port = 9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)