[tor-bugs] #10725 [BridgeDB]: Write a Completely Spec-Compliant Bridge Descriptor Parser

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 26 06:22:14 UTC 2014


#10725: Write a Completely Spec-Compliant Bridge Descriptor Parser
-----------------------------+------------------------------
     Reporter:  sysrqb       |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  BridgeDB     |    Version:
   Resolution:               |   Keywords:  bridgedb-parsers
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------

Comment (by atagar):

 I think this is a mistake. Stem handles the @type annotations. In fact,
 Karsten added them on my request. :P

 If you go through either parse_file() or the descriptor reader (which are
 the two ways you should be getting descriptors) then the @type annotation
 is used to determine the document type...

 https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/descriptor/__init__.py#l79

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


More information about the tor-bugs mailing list