浏览代码

Try to improve the keypinning-failure message even more

Nick Mathewson 6 年之前
父节点
当前提交
ab166fe68f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/or/dirserv.c

+ 3 - 1
src/or/dirserv.c

@@ -723,7 +723,9 @@ dirserv_add_descriptor(routerinfo_t *ri, const char **msg, const char *source)
     *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?";
+      "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;
   }