From 70ca4e9dcb2b37e1fa68a3cdac56dfe244e54ab1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 22 Mar 2023 14:30:22 -0400 Subject: 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. --- rend-spec-v3.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.3-54-g00ecf