aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-03-01 07:42:22 -0500
committerNick Mathewson <nickm@torproject.org>2023-03-01 07:42:22 -0500
commitba581c95bfdad21f2f0e9c233af0ccd90ab34518 (patch)
tree7d6a53c88709a79bd0c34063ebcbede4941f65ac
parent29fbf57f79658d036e940502c5ce975fcc388a36 (diff)
downloadtorspec-ba581c95bfdad21f2f0e9c233af0ccd90ab34518.tar.gz
torspec-ba581c95bfdad21f2f0e9c233af0ccd90ab34518.zip
Clarify that ESTABLISH_INTRO signature doesn't cover SIG_LEN.
The previous wording implied that SIG_LEN was also signed, which it isn't.
-rw-r--r--rend-spec-v3.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rend-spec-v3.txt b/rend-spec-v3.txt
index 5a130f9..01a48df 100644
--- a/rend-spec-v3.txt
+++ b/rend-spec-v3.txt
@@ -1638,8 +1638,8 @@ Table of contents:
SIG_LEN is the length of the signature.
SIG is a signature, using AUTH_KEY, of all contents of the cell, up
- to but not including SIG. These contents are prefixed with the string
- "Tor establish-intro cell v1".
+ to but not including SIG_LEN and SIG. These contents are prefixed
+ with the string "Tor establish-intro cell v1".
Upon receiving an ESTABLISH_INTRO cell, a Tor node first decodes the
key and the signature, and checks the signature. The node must reject