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

Re: [tor-bugs] #7932 [Stem]: Stem complains that key certificate in old vote doesn't end with a 'dir-key-certification' line



#7932: Stem complains that key certificate in old vote doesn't end with a 'dir-
key-certification' line
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by karsten):

 From the beginning of Section 3.3:

 {{{
    Status documents contain a preamble, an authority section, a list of
    router status entries, and one or more footer signature, in that order.
 }}}

 So, everything after the last router status entry is the footer
 (signature).  It's just that consensus method 9 started to explicitly
 delineate the footer to include the "bandwidth-weights" line and maybe
 other lines in the future.  So, in consensus methods prior to 9, the
 footer starts at the "directory-signature" line, or more generally at the
 first non-router-status-entry line. -- That being said, it might make
 sense to tweak those parts of dir-spec.txt to make them less confusing.

 But: note that Stem parses the 17:00:00 vote without issues, but has
 trouble parsing the 18:00:00 vote.  I don't see what difference between
 the two votes would cause that.  Any ideas?  Can you try out parsing these
 two votes with Stem and take a look yourself?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7932#comment:3>
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