[tor-commits] [depictor/master] Remove a partially misleading signature algorithm

tom at torproject.org tom at torproject.org
Thu Apr 12 19:22:55 UTC 2018


commit 5aeea0e0eaa3a4a7674c8d6baf6e85c078f6b512
Author: Tom Ritter <tom at ritter.vg>
Date:   Thu Feb 15 16:58:35 2018 -0600

    Remove a partially misleading signature algorithm
    
    Closes #25184
---
 website.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website.py b/website.py
index a80ee58..0c5d737 100755
--- a/website.py
+++ b/website.py
@@ -262,7 +262,7 @@ class WebsiteWriter:
 		+ "  </colgroup>\n")
    
 		# XXX Should also write if the displayed consensus is out of date
-		signingFPs = {sig.identity:sig.method for sig in self.consensus.signatures}
+		signingFPs = [sig.identity for sig in self.consensus.signatures]
 		for dirauth_nickname in self.known_authorities: 
 			self.site.write("  <tr>\n" 
 			+ "    <td>" + dirauth_nickname + "</td>\n")
@@ -286,7 +286,7 @@ class WebsiteWriter:
 				# but we need this structure for the authority's fingerprint
 				authority = [d for d in self.consensus.directory_authorities if d.nickname.lower() == dirauth_nickname][0]
 				if authority.fingerprint in signingFPs:
-					self.site.write("    <td>" + signingFPs[authority.fingerprint] + "</td>\n")
+					self.site.write("    <td></td>\n")
 				elif authority.nickname.lower() in self.consensuses:
 					self.site.write("    <td class=\"oiv\">Missing Signature! "
 					+ "Valid-after time of auth's displayed consensus: "





More information about the tor-commits mailing list