[tor-bugs] #27549 [Core Tor/Tor]: hs-v3: Refactor the descriptor cookie computation code

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 7 18:30:51 UTC 2018


#27549: hs-v3: Refactor the descriptor cookie computation code
------------------------------+---------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs, refactoring
Actual Points:                |  Parent ID:  #27544
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+---------------------------------
 These functions have very very similar code for computing
 `hs_desc_build_authorized_client()` and `decrypt_descriptor_cookie()` for
 computing the keys for the client authorization.

 We should refactor this and consolidate since they do the same work on
 both sides (client and service).

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


More information about the tor-bugs mailing list