[tor-bugs] #24851 [Core Tor/Fallback Scripts]: create a script that generates the authority format from the authorities in the current consensus

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 29 18:46:00 UTC 2018


#24851: create a script that generates the authority format from the authorities in
the current consensus
---------------------------------------+-----------------------------------
 Reporter:  teor                       |          Owner:  (none)
     Type:  enhancement                |         Status:  new
 Priority:  Medium                     |      Milestone:  Tor:
                                       |  0.3.4.x-final
Component:  Core Tor/Fallback Scripts  |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  tor-dirauth                |  Actual Points:
Parent ID:  #24818                     |         Points:  0.5
 Reviewer:                             |        Sponsor:
---------------------------------------+-----------------------------------

Comment (by teor):

 You can start with the Stem example here:
 https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html
 #where-can-i-get-the-current-descriptors

 Then modify it to only print the authorities, by matching on the
 "Authority" flag:
 https://stem.torproject.org/api/descriptor/router_status_entry.html#stem.descriptor.router_status_entry.RouterStatusEntry

 And add the other fields that are in the existing document:
 https://stem.torproject.org/api/descriptor/router_status_entry.html#stem.descriptor.router_status_entry.RouterStatusEntryV3

 You might find that this spec helps, or there might be way too much
 detail:
 https://github.com/teor2345/torspec/blob/dir-list/dir-list-spec.txt#L252

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24851#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list