[tor-bugs] #9715 [Tor]: update tor spec for hidden service descriptor asynchronous events

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 4 17:01:53 UTC 2014


#9715: update tor spec for hidden service descriptor asynchronous events
-----------------------------+----------------------
     Reporter:  dave2008     |      Owner:
         Type:  enhancement  |     Status:  reopened
     Priority:  normal       |  Milestone:
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-spec
Actual Points:               |  Parent ID:  #8510
       Points:               |
-----------------------------+----------------------

Comment (by atagar):

 > It seems that Tor long names (as produced by format_node_description())
 allow spaces in them

 Tor might, but the spec doesn't. From the controlspec...

 {{{
 LongName   = Fingerprint [ ( "=" / "~" ) Nickname ]

 Fingerprint = "$" 40*HEXDIG
 NicknameChar = "a"-"z" / "A"-"Z" / "0" - "9"
 Nickname = 1*19 NicknameChar
 }}}

 Indeed, things would be pretty tricky to parse if spaces were allowed.

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


More information about the tor-bugs mailing list