[tor-bugs] #6505 [Tor Client]: GETINFO dir/status-vote/current/consensus returns "Unrecognized key" if no consensus available

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 1 14:46:24 UTC 2012


#6505: GETINFO dir/status-vote/current/consensus returns "Unrecognized key" if no
consensus available
------------------------+---------------------------------------------------
 Reporter:  zwol        |          Owner:  zwol              
     Type:  defect      |         Status:  needs_revision    
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:  Tor: 0.2.3.19-rc  
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
Changes (by nickm):

  * status:  needs_review => needs_revision


Comment:

 Agreed with arma: the consensus is never an empty string, so returning an
 empty string is never right.  Setting a different error would make more
 sense.

 If pytorctl crashes when it asks for a consensus and we don't have one
 yet, pytorctl is broken.

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


More information about the tor-bugs mailing list