[tor-commits] [chutney/master] Stop providing the hs flag on authorities

teor at torproject.org teor at torproject.org
Wed Aug 29 09:58:23 UTC 2018


commit c34e6e5cd56aebfc30cfefe8e2589b0110922eec
Author: teor <teor at torproject.org>
Date:   Sun Aug 26 06:42:42 2018 +1000

    Stop providing the hs flag on authorities
    
    Closes 27378.
---
 lib/chutney/TorNet.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index 91ebb6b..bf26978 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -469,7 +469,7 @@ class LocalNodeBuilder(NodeBuilder):
 
     def _getAltAuthLines(self, hasbridgeauth=False):
         """Return a combination of AlternateDirAuthority,
-        AlternateHSAuthority and AlternateBridgeAuthority lines for
+        and AlternateBridgeAuthority lines for
         this Node, appropriately.  Non-authorities return ""."""
         if not self._env['authority']:
             return ""
@@ -492,14 +492,14 @@ class LocalNodeBuilder(NodeBuilder):
             self._env['dirserver_flags'] += " bridge"
         else:
             # Directory authorities return AlternateDirAuthority with
-            # the 'hs' and 'v3ident' flags set.
+            # the 'v3ident' flag set.
             # XXXX This next line is needed for 'bridges' but breaks
             # 'basic'
             if hasbridgeauth:
                 options = ("AlternateDirAuthority",)
             else:
                 options = ("DirAuthority",)
-            self._env['dirserver_flags'] += " hs v3ident=%s" % v3id
+            self._env['dirserver_flags'] += " v3ident=%s" % v3id
 
         authlines = ""
         for authopt in options:



More information about the tor-commits mailing list