[tor-bugs] #15554 [Core Tor/Tor]: Put some actual hsdescs in the unit tests for parsing
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jun 20 13:09:25 UTC 2017
#15554: Put some actual hsdescs in the unit tests for parsing
--------------------------+------------------------------------
Reporter: arma | Owner: rl1987
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-hs, easy | Actual Points:
Parent ID: | Points: small/medium
Reviewer: | Sponsor: SponsorR-can
--------------------------+------------------------------------
Comment (by asn):
I actually don't think we are parsing an actual hardcoded v2 HS desc right
now. We only parse self-generated descriptors.
It's true that that #14847 added an actual HS desc in the unittests (see
`hs_desc_content` in `test_hs.c`) but I don't think we are actually
parsing it anywhere right now. We just use it to check the output of the
control port commands.
We should probably add a test that parses that v2 descriptor. I added it
to my TODO list will try to do it RSN.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15554#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list