summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-28 11:44:25 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-28 11:44:25 -0400
commit51d14b3d478a94c410a695f736445f42ccc23fb9 (patch)
tree3b3e9e778a51a7dfe66bf4ddfa50af7cde08108b
parent1dd0be75c2119ab5265725641778bf4d77df4d60 (diff)
parent63fc23f8260e2723182fbd8476df78559be325d3 (diff)
downloadtor-51d14b3d478a94c410a695f736445f42ccc23fb9.tar.gz
tor-51d14b3d478a94c410a695f736445f42ccc23fb9.zip
Merge branch 'maint-0.3.1' into release-0.3.1
-rw-r--r--changes/ticket223485
-rw-r--r--src/or/dirserv.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/changes/ticket22348 b/changes/ticket22348
new file mode 100644
index 0000000000..49ae94cdf3
--- /dev/null
+++ b/changes/ticket22348
@@ -0,0 +1,5 @@
+ o Minor features (directory authority):
+ - Improve the message that authorities report to relays when
+ the RSA/Ed25519 key pair they present conflicts with a previously
+ pinned key. Closes ticket 22348.
+
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 468fdbd488..acd00322a1 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -720,7 +720,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;
}