summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-21 14:44:00 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-21 14:44:00 -0500
commite52f49aa800019d3f60b640f5bb82ef7cf5f78e5 (patch)
tree70dccb7e70e94e584ebbea38742c0138ff57a812
parent9023d7361d13629e0bc3de081db974a870d306b0 (diff)
parent0dd48bfe5aab9ca213dfbacd3b2ee8710a584405 (diff)
downloadtor-e52f49aa800019d3f60b640f5bb82ef7cf5f78e5.tar.gz
tor-e52f49aa800019d3f60b640f5bb82ef7cf5f78e5.zip
Merge remote-tracking branch 'public/ticket18319'
-rw-r--r--changes/ticket183194
-rw-r--r--doc/tor.1.txt2
-rw-r--r--src/or/config.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/changes/ticket18319 b/changes/ticket18319
new file mode 100644
index 0000000000..41c5b5641f
--- /dev/null
+++ b/changes/ticket18319
@@ -0,0 +1,4 @@
+ o Minor features (directory authority, security):
+ - The default for AuthDirPinKeys is now 1: directory authorities will
+ reject relays where the RSA identity key matches a previously seen
+ value, but the Ed25519 key has changed. Closes ticket 18319.
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 46b10773bd..8c8922bc29 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -2277,7 +2277,7 @@ on the public Tor network.
publish a descriptor if any other relay has reserved its <Ed25519,RSA>
identity keypair. In all cases, Tor records every keypair it accepts
in a journal if it is new, or if it differs from the most recently
- accepted pinning for one of the keys it contains. (Default: 0)
+ accepted pinning for one of the keys it contains. (Default: 1)
[[AuthDirSharedRandomness]] **AuthDirSharedRandomness** **0**|**1**::
Authoritative directories only. Switch for the shared random protocol.
diff --git a/src/or/config.c b/src/or/config.c
index f885cbca3b..2c239a5e34 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -212,7 +212,7 @@ static config_var_t option_vars_[] = {
V(AuthDirInvalidCCs, CSV, ""),
V(AuthDirFastGuarantee, MEMUNIT, "100 KB"),
V(AuthDirGuardBWGuarantee, MEMUNIT, "2 MB"),
- V(AuthDirPinKeys, BOOL, "0"),
+ V(AuthDirPinKeys, BOOL, "1"),
V(AuthDirReject, LINELIST, NULL),
V(AuthDirRejectCCs, CSV, ""),
OBSOLETE("AuthDirRejectUnlisted"),