[tor-bugs] #24818 [Core Tor/Tor]: Make the hard-coded authorities into a separate include file with a standard format

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 10 11:58:33 UTC 2018


#24818: Make the hard-coded authorities into a separate include file with a
standard format
----------------------------------+------------------------------------
 Reporter:  teor                  |          Owner:  teor
     Type:  enhancement           |         Status:  assigned
 Priority:  Medium                |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  torspec, tor-dirauth  |  Actual Points:
Parent ID:  #24786                |         Points:  1
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------
Changes (by teor):

 * keywords:  torspec, tor-auth => torspec, tor-dirauth


Comment:

 Replying to [comment:6 teor]:
 > Parenting to #24786, because this affects the fallback file format as
 well.
 >
 > Here's what we need to do here:
 > * specify the unified authority and fallback formats
 >   * move each field to its own line
 >   * reorder fields so the files are as similar as possible

 I have updated my branch dir-list at
 ‚Äčhttps://github.com/teor2345/torspec.git

 The list of changes is here:
 https://github.com/teor2345/torspec/commits/dir-list

 I have asked for feedback on tor-dev:

 https://lists.torproject.org/pipermail/tor-dev/2018-January/012784.html

 I have split the other tasks off into tickets:

 > * create a script that generates the authority format from the
 authorities in the current consensus
 >   * apply address overrides
 >   * make sure the details match the current list
 >   * check that all supported Tor versions can parse the list (existing
 unit tests)

 #24851

 > * update the fallback script to generate the new format, and increment
 the version
 >   * modify the structure of the current list, but not the content
 >   * check that all supported Tor versions (0.2.9 and later) can parse
 the list (existing unit tests)

 #24852

 backport the new authority and fallback files

 #24853

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


More information about the tor-bugs mailing list