aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-03-22 14:30:22 -0400
committerNick Mathewson <nickm@torproject.org>2023-03-22 14:31:55 -0400
commit70ca4e9dcb2b37e1fa68a3cdac56dfe244e54ab1 (patch)
tree285052e1e4f9eb39d4a4be10508658795409b192
parent0b19f2114ba690cdb92e54f66cc9c518dea6581a (diff)
downloadtorspec-70ca4e9dcb2b37e1fa68a3cdac56dfe244e54ab1.tar.gz
torspec-70ca4e9dcb2b37e1fa68a3cdac56dfe244e54ab1.zip
rend-spec: clarify how dir info may be used to confirm linkspecs
Specifically, you can look at the directory to see if somebody is lying about a relay (mismatched IDs, etc), but you can't modify the list of linkspecs.
-rw-r--r--rend-spec-v3.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/rend-spec-v3.txt b/rend-spec-v3.txt
index 4ba88d7..4a12343 100644
--- a/rend-spec-v3.txt
+++ b/rend-spec-v3.txt
@@ -1403,6 +1403,10 @@ Table of contents:
this list of link specifiers verbatim, in the same order as given
here.
+ The client MAY reject the list of link specifiers if it is
+ inconsistent with relay information from the directory, but SHOULD
+ NOT modify it.
+
"onion-key" SP "ntor" SP key NL
[Exactly once per introduction point]
@@ -1915,6 +1919,10 @@ Table of contents:
sent verbatim when extending to the rendezvous point, in the same order
received.
+ The service MAY reject the list of link specifiers if it is
+ inconsistent with relay information from the directory, but SHOULD
+ NOT modify it.
+
The ONION_KEY_TYPE field is:
[01] NTOR: ONION_KEY is 32 bytes long.