[tor-bugs] #27215 [Core Tor/Tor]: hs: Change default HiddenServiceVersion to 3

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 22 13:23:21 UTC 2018


#27215: hs: Change default HiddenServiceVersion to 3
------------------------------------------+--------------------------------
 Reporter:  dgoulet                       |          Owner:  (none)
     Type:  enhancement                   |         Status:  new
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.3.5.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  tor-hs, 035-roadmap-proposed  |  Actual Points:
Parent ID:                                |         Points:
 Reviewer:                                |        Sponsor:
------------------------------------------+--------------------------------

Comment (by dgoulet):

 Replying to [comment:2 teor]:
 > Here's one way to make Tor smart:
 > * if the HiddenServiceDirectory has an existing v2 key, use v2 for that
 service
 > * if the HiddenServiceDirectory has an existing v3 key, use v3 for that
 service
 > * otherwise, use HiddenServiceVersion for new services
 >
 > If we apply the first found version to all other services, there are a
 lot of edge cases.

 That is the good approach. Heads up, we'll have to add some logic/code to
 try to load the key when configuring the service so we can figure out the
 version.

 Currently, loading keys happen _after_ configuration because it is the
 "validation" step and then loading/creating the keys is a second step
 which makes it from staging to production.

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


More information about the tor-bugs mailing list