[tor-bugs] #18797 [Metrics/metrics-lib]: create a DescriptorGenerator?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu May 4 19:31:55 UTC 2017
#18797: create a DescriptorGenerator?
---------------------------------+-------------------------
Reporter: iwakeh | Owner: karsten
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: Metrics/metrics-lib | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------+-------------------------
Changes (by atagar):
* cc: isis (added)
Comment:
Hi Karsten - interesting! I didn't realize you were considering this too.
Adding Isis too since she's interested in this topic as well.
Descriptor creation has been on my radar for quite a few years (#10227).
Stem and BridgeDB need it for their unit tests. Stem filled this need with
test helpers, and Isis did so with her own library called
[https://pypi.python.org/pypi/leekspin leekspin].
Descriptor generation fits nicely into Stem's API so I'm adding it now so
we can deduplicate this effort. So TL;DR is...
* At present the only use of descriptor generation I'm aware of is
testing. That said, we might find other uses too.
* There's two parts to descriptor generation: creating valid descriptors
and signing it. Stem presently supports the former but not the later
(however, leekspin can). I'm looking into that next.
Cheers! -Damian
PS. Once again kinda sad we keep duplicating each other's efforts. Seems
like a waist to keep repeating each other's work... :/
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18797#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list