[tor-bugs] #27446 [Core Tor/Tor]: HS creation via SETCONF changed from v2 to v3

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 5 16:02:09 UTC 2018


#27446: HS creation via SETCONF changed from v2 to v3
--------------------------+------------------------------------
 Reporter:  atagar        |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs        |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by atagar):

 * status:  needs_information => new


Comment:

 Thanks David! Since this is intended I'll adjust Stem to match. Off the
 top of my head there's a few follow-up actions here...

 * [**Tor**] Could you please clarify the above error response? Since we're
 breaking backward compatibility we should be very clear in the response
 what is going on. In particular when users provide v2 HS arguments we
 should provide a response such as...

   ''"Version 2 hidden services are deprecated, and this method now creates
 v3 hidden services by default which is incompatible with the X argument.
 Please see Y for our documentation on v3 hidden services, and include
 'HiddenServiceVersion 2' if you would like to explicitly create a version
 2 hidden service anyway."''

 * [**Stem**] I'll change our Controller's create_hidden_service() method
 to include 'HiddenServiceVersion 2' in tor 0.3.5 and higher.

 * [**Stem**] Stepping back I should rethink Stem's hidden service API.
 I'll probably wait until these mature more. In particular I'd like to see
 #25918 so we're consistent on the naming, and clarification on what I
 should do with HS descriptor parsing (should I simply remove v2 HS
 descriptor methods without a v3 counterpart?).

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


More information about the tor-bugs mailing list