[tor-bugs] #12624 [Tor bundles/installation]: tbb-nightly-2014-07-13 chokes with "Bad password or authentication cookie on controller."

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 15 02:32:21 UTC 2014


#12624: tbb-nightly-2014-07-13 chokes with "Bad password or authentication cookie
on controller."
------------------------------------------+----------------------
     Reporter:  asn                       |      Owner:  isis
         Type:  defect                    |     Status:  assigned
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+----------------------

Comment (by mcs):

 Replying to [comment:3 isis]:
 > My patch sets `TOR_CONTROL_PASSWD='secret'`, and then in the
 `setControlPortPasswd()` function it specifically ignores the password if
 it is set to `'secret'`:
 >
 > {{{
 >     test -z "$ctrlPasswd" -o "$ctrlPasswd" = $'\"secret\"' && return
 > }}}
 >
 > But I'll check one of the nightlies tonight.

 Thanks.  I think the problem is that, even though the export
 TOR_CONTROL_PASSWD line inside setControlPortPasswd() is skipped, the
 "secret" value is still passed to Tor Browser (and thus to Tor Launcher)
 because of this:
 {{{
 TOR_CONTROL_PASSWD=${TOR_CONTROL_PASSWD} ./firefox --class "Tor Browser"
 ...
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12624#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list