commit 6790035c5756a8022e389f2cb95d2afb78d8c953 Merge: acfcc58b 5b1fc94f Author: Damian Johnson atagar@torproject.org Date: Sat Aug 24 17:17:15 2019 -0700
Hidden service v3 descriptor support
Support for the outer later of v3 hidden service descriptors...
https://trac.torproject.org/projects/tor/ticket/31369 https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt#n1046
This does *not* include support for reading HS-DESC-ENC (superencrypted blobs) nor validating the signature. Patches welcome for both!
docs/api.rst | 2 +- docs/api/descriptor/hidden_service.rst | 5 + docs/api/descriptor/hidden_service_descriptor.rst | 5 - docs/change_log.rst | 10 +- docs/contents.rst | 3 +- docs/tutorials/mirror_mirror_on_the_wall.rst | 2 +- docs/tutorials/over_the_river.rst | 2 +- stem/control.py | 2 +- stem/descriptor/__init__.py | 38 +- stem/descriptor/extrainfo_descriptor.py | 15 +- stem/descriptor/hidden_service.py | 552 +++++++++++++++++++++ stem/descriptor/hidden_service_descriptor.py | 446 +---------------- stem/descriptor/server_descriptor.py | 34 +- stem/response/events.py | 4 +- test/settings.cfg | 11 +- test/unit/descriptor/data/hidden_service_v3 | 223 +++++++++ ..._service_descriptor.py => hidden_service_v2.py} | 60 +-- test/unit/descriptor/hidden_service_v3.py | 109 ++++ 18 files changed, 987 insertions(+), 536 deletions(-)
tor-commits@lists.torproject.org