[tor-commits] [doctor/master] Turtles was being misreported as an unexpected authority

atagar at torproject.org atagar at torproject.org
Sat Jul 5 00:11:25 UTC 2014


commit 707dfe91c3a8edb16888e7e8ff74a97a8a38964c
Author: Damian Johnson <atagar at torproject.org>
Date:   Fri Jul 4 17:10:51 2014 -0700

    Turtles was being misreported as an unexpected authority
    
    Minor bug with how we ignore authorities. Set handling caused turtles to be
    misreported as an authority we didn't expect.
---
 consensus_health_checker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 18ea748..dd77c2a 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -474,7 +474,7 @@ def has_authority_flag(latest_consensus, consensuses, votes):
 
   known_authorities = set(directory_authorities().keys())
   missing_authorities = known_authorities.difference(seen_authorities)
-  extra_authorities = seen_authorities.difference(known_authorities - set(CONFIG['ignored_authorities']))
+  extra_authorities = seen_authorities.difference(known_authorities) - set(CONFIG['ignored_authorities'])
 
   issues = []
 



More information about the tor-commits mailing list