[tor-bugs] #6350 [Tor Relay]: Extra-info descriptors contain extra space between nickname and fingerprint

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jul 9 16:38:49 UTC 2012


#6350: Extra-info descriptors contain extra space between nickname and fingerprint
-----------------------+----------------------------------------------------
 Reporter:  karsten    |          Owner:     
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Tor Relay  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by atagar):

 Agreed that this is an ambiguity in the spec. It's more formally defined
 that the whitespace between the keyword and value can be any size...
 https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l203

 But I'm not aware of anything that specifies the spaces within a
 KeywordLine's 'ArgumentChar+'. Personally I thought that they needed to be
 single spaces too, and vote for this being malformed data on tor's part.

 As for stem, this shouldn't effect us due to how split() works...

 {{{
 >>> value = "free  EB2798A84E9D962DF13C61FA055C2513DDDAF800"
 >>> value.split()
 ['free', 'EB2798A84E9D962DF13C61FA055C2513DDDAF800']
 }}}

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


More information about the tor-bugs mailing list