]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve the keypin failure message
authorNick Mathewson <nickm@torproject.org>
Tue, 1 Aug 2017 00:40:23 +0000 (20:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 1 Aug 2017 00:40:23 +0000 (20:40 -0400)
Closes the human-factors part of ticket 22348.

changes/ticket22348 [new file with mode: 0644]
src/or/dirserv.c

diff --git a/changes/ticket22348 b/changes/ticket22348
new file mode 100644 (file)
index 0000000..49ae94c
--- /dev/null
@@ -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.
+
index 468fdbd488062f568b788d686ab2e456ba654098..4c5309b3ba9ad37de3b855aa13f5c333777f0c1c 100644 (file)
@@ -720,7 +720,10 @@ 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?";
     r = ROUTER_AUTHDIR_REJECTS;
     goto fail;
   }