[tor-bugs] #17378 [Stem]: Stem HiddenServiceOptions does not reflect reality

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 21 10:32:50 UTC 2015


#17378: Stem HiddenServiceOptions does not reflect reality
-----------------------+------------------------
 Reporter:  infinity0  |          Owner:  atagar
     Type:  defect     |         Status:  new
 Priority:  Medium     |      Milestone:
Component:  Stem       |        Version:
 Severity:  Normal     |     Resolution:
 Keywords:             |  Actual Points:
Parent ID:             |         Points:
  Sponsor:             |
-----------------------+------------------------

Comment (by infinity0):

 Replying to [comment:4 atagar]:
 > > Might I suggest deprecating HiddenServiceOptions in case future people
 misuse it like here?
 >
 > Would you mind clarifying what you mean?

 Log a python DeprecationWarning [1] when the client accesses that option,
 and mark it as deprecated both in the code comments and the generated
 documentation to advise people to use get_hidden_service_conf() instead.

 [1] Using warnings.warn https://docs.python.org/2/library/warnings.html

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


More information about the tor-bugs mailing list