[tor-bugs] #6257 [Stem]: Bump to @type bridge-extra-info 1.1

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jun 29 11:16:23 UTC 2012


#6257: Bump to @type bridge-extra-info 1.1
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------
 #4957 adds a new `transport` line to sanitized bridge extra-info
 descriptors, e.g.,

 {{{
 transport obfs2
 transport obfs3
 }}}

 I think we'll have to bump the version number for these descriptors from
 1.0 to 1.1.  Even though 1.0 parsers won't understand this line, they
 shouldn't break.  Therefore the new version should be 1.1, not 2.0.

 However, both metrics-lib and stem look for `"1.0"` as the version number
 and won't parse 1.1 descriptors at all.  See:

 {{{
 stem/stem/descriptor/__init__.py:  elif first_line in ("@type bridge-
 extra-info 1.0"):
 }}}

 I'll update metrics-lib very soon.  Once stem is updated, too, I'll make
 metrics-db produce 1.1 descriptors.

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


More information about the tor-bugs mailing list