aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-28 11:43:55 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-28 11:43:55 -0400
commitc107aae3c29bb0f62586ffef4c636ae2f47e746b (patch)
tree402d87e7f57102e920f8bf732fbb5fae6d6169c4 /src/or/dirserv.c
parent4b4b3afb569a40db99c1614bc83d835b0a23fe27 (diff)
parentab166fe68faa87237c767a38682271b22ce8c029 (diff)
downloadtor-c107aae3c29bb0f62586ffef4c636ae2f47e746b.tar.gz
tor-c107aae3c29bb0f62586ffef4c636ae2f47e746b.zip
Merge branch 'ticket22348_031'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 01f70858ea..4faca9454b 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -732,7 +732,12 @@ dirserv_add_descriptor(routerinfo_t *ri, const char **msg, const char *source)
log_info(LD_DIRSERV, "Dropping descriptor from %s (source: %s) because "
"its key did not match an older RSA/Ed25519 keypair",
router_describe(ri), source);
- *msg = "Looks like your keypair does not match its older value.";
+ *msg = "Looks like your keypair has changed? This authority previously "
+ "recorded a different RSA identity for this Ed25519 identity (or vice "
+ "versa.) Did you replace or copy some of your key files, but not "
+ "the others? You should either restore the expected keypair, or "
+ "delete your keys and restart Tor to start your relay with a new "
+ "identity.";
r = ROUTER_AUTHDIR_REJECTS;
goto fail;
}