[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs