mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge branch 'ticket22348_031'
This commit is contained in:
commit
c107aae3c2
5
changes/ticket22348
Normal file
5
changes/ticket22348
Normal file
@ -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.
|
||||||
|
|
@ -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 "
|
log_info(LD_DIRSERV, "Dropping descriptor from %s (source: %s) because "
|
||||||
"its key did not match an older RSA/Ed25519 keypair",
|
"its key did not match an older RSA/Ed25519 keypair",
|
||||||
router_describe(ri), source);
|
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;
|
r = ROUTER_AUTHDIR_REJECTS;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user