[tor-bugs] #15296 [Tor]: Remove extra newline at the end of an HS descriptor

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 16 13:04:39 UTC 2015


#15296: Remove extra newline at the end of an HS descriptor
---------------------+------------------------------------
 Reporter:  dgoulet  |          Owner:  dgoulet
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor      |        Version:
 Keywords:  tor-hs   |  Actual Points:
Parent ID:           |         Points:
---------------------+------------------------------------
 In `rend_encode_v2_descriptors`, an extra newline is added at the end of
 the descriptor. However, rend-spec.txt doesn't specify this extra newline.

 atagar mentionned on IRC that it would be surprising if that is the
 intended behaviour since other type of descriptors don't have it:

 {{{
 < atagar> It's the only descriptor type with it, so I'd be surprised if it
 was intended. ;)
 }}}

 Thus this should be fixed in the tor code and not in the spec.

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


More information about the tor-bugs mailing list