[tor-bugs] #15244 [Tor]: Add helper functin that validates a .onion address

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 12 15:12:08 UTC 2015


#15244: Add helper functin that validates a .onion address
-----------------------------+--------------------------------
     Reporter:  dgoulet      |      Owner:  dgoulet
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-hs
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by dgoulet):

 Replying to [comment:1 nickm]:
 > Sounds fine; what's the use case?

 This #14847 would use it. Also a SOCKS connection requesting a .onion
 would use it. More and more places in the code validate a .onion which we
 could simply make a function for it. Basically, every entry point in the
 tor code that parses a .onion would be useful.

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


More information about the tor-bugs mailing list