[tor-commits] [tor/master] Remove a check for an ancient bad dirserver fingerprint

nickm at torproject.org nickm at torproject.org
Sun Jan 18 21:07:16 UTC 2015


commit 9396005428c40cf7ef9f1e6ae1d725f3155391f5
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Jan 6 16:28:11 2015 -0500

    Remove a check for an ancient bad dirserver fingerprint
---
 src/or/config.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index 2fa077e..d966ee0 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5329,14 +5329,6 @@ parse_dir_authority_line(const char *line, dirinfo_type_t required_type,
              fingerprint, (int)strlen(fingerprint));
     goto err;
   }
-  if (!strcmp(fingerprint, "E623F7625FBE0C87820F11EC5F6D5377ED816294")) {
-    /* a known bad fingerprint. refuse to use it. We can remove this
-     * clause once Tor 0.1.2.17 is obsolete. */
-    log_warn(LD_CONFIG, "Dangerous dirserver line. To correct, erase your "
-             "torrc file (%s), or reinstall Tor and use the default torrc.",
-             get_torrc_fname(0));
-    goto err;
-  }
   if (base16_decode(digest, DIGEST_LEN, fingerprint, HEX_DIGEST_LEN)<0) {
     log_warn(LD_CONFIG, "Unable to decode DirAuthority key digest.");
     goto err;





More information about the tor-commits mailing list