[tor-bugs] #33650 [Core Tor/Tor]: Verify that intro2 cell extensions actually work

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 19 22:47:18 UTC 2020


#33650: Verify that intro2 cell extensions actually work
-------------------------------------------------+-------------------------
 Reporter:  arma                                 |          Owner:
                                                 |  mikeperry
     Type:  task                                 |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-dos tor-dos-2020 anonymous-      |  Actual Points:
  credentials research                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by mikeperry):

 Notes on v3 HSDesc codepaths:
  - We probably want to add our field in the superencrypted section. The
 spec says this may be extended.
  - v3 descriptors are built via `hs_desc_encode_descriptor()`, which calls
 `desc_encode_v3()` via a table lookup
  - The superencrypted stuff is done in `encode_superencrypted_data()`,
 which builds the fields in `build_secret_data()`
  - Decoding on the client side happens via `hs_desc_decode_descriptor()`,
 which calls down to `desc_decode_encrypted_v3()`, and then
 `hs_desc_decode_superencrypted()` and `hs_desc_decode_encrypted()`

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


More information about the tor-bugs mailing list