[tor-commits] [chutney/master] avoid crash on older Tor authority versions.

nickm at torproject.org nickm at torproject.org
Fri Feb 12 19:05:27 UTC 2021


commit d9978e036925267449cf0a2e7d735e202f4e70ef
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Feb 12 09:32:47 2021 -0500

    avoid crash on older Tor authority versions.
---
 lib/chutney/TorNet.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index 043904a..950806e 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -787,6 +787,8 @@ class LocalNodeBuilder(NodeBuilder):
         if os.path.exists(ed_fn):
             s = open(ed_fn).read().strip().split()[1]
             self._env['fingerprint_ed25519'] = s
+        else:
+            self._env['fingerprint_ed25519'] = ""
 
     def _getAltAuthLines(self, hasbridgeauth=False):
         """Return a combination of AlternateDirAuthority,



More information about the tor-commits mailing list