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

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



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