[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15554 [Core Tor/Tor]: Put some actual hsdescs in the unit tests for parsing
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs