[tor-bugs] #28916 [Core Tor/Stem]: Stem's launch_tor_with_config() does not support ordered (onion service) options

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 4 18:12:37 UTC 2019


#28916: Stem's launch_tor_with_config() does not support ordered (onion service)
options
---------------------------+----------------------------
 Reporter:  teor           |          Owner:  atagar
     Type:  defect         |         Status:  closed
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:  worksforme
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+----------------------------
Changes (by atagar):

 * status:  needs_information => closed
 * resolution:   => worksforme


Comment:

 Hi teor. Sorry, I don't understand what you mean.
 [https://stem.torproject.org/api/process.html#stem.process.launch_tor_with_config
 launch_tor_with_config()] only takes a dictionary, not an array. Maybe you
 mean the array input argument to the OrderedDict? If so then that's how
 ordered dictionaries are made. Nothing stem specific.

 I'm not spotting anything to be done here on my side. I agree that the
 need for an OrderedDict is a bit confusing, but that confusion is because
 tor has a single, unique set of hidden service arguments that are order
 dependent. Given that requirement Stem handles this the proper pythonic
 way.

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


More information about the tor-bugs mailing list