aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2018-07-20 16:56:29 -0500
committerTaylor Yu <catalyst@torproject.org>2018-07-20 16:56:29 -0500
commit1f0d38a7632b1861039d040089b245eba24e3318 (patch)
tree030336f37f8d27f0105eb526ec77345ec3f1b856 /tor-spec.txt
parentd5a0678ec727dfeb37127c9893903e9d6799e883 (diff)
downloadtorspec-1f0d38a7632b1861039d040089b245eba24e3318.tar.gz
torspec-1f0d38a7632b1861039d040089b245eba24e3318.zip
Clarify all-zeroes relay fingerprint behavior
The all-zeroes special case for EXTEND/EXTEND2 cells is for relay fingerprints/public keys, not cell crypto digests. Closes ticket 26893.
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/tor-spec.txt b/tor-spec.txt
index b88befe..02bb9ae 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1264,11 +1264,12 @@ see tor-design.pdf.
cell to the next onion router, with the enclosed HLEN, HTYPE, and HDATA
as its payload.
- As special cases, if the extend cell includes a digest of
- all zeroes, or asks to extend back to the relay that sent the extend
- cell, the circuit will fail and be torn down. The initiating onion
- router chooses some circID not yet used on the connection between the
- two onion routers. (But see section 5.1.1 above, concerning choosing
+ As special cases, if the EXTEND/EXTEND2 cell includes a legacy
+ identity, identity fingerprint, or Ed25519 identity of all zeroes, or
+ asks to extend back to the relay that sent the extend cell, the
+ circuit will fail and be torn down. The initiating onion router
+ chooses some circID not yet used on the connection between the two
+ onion routers. (But see section 5.1.1 above, concerning choosing
circIDs.)
When an onion router receives a CREATE/CREATE2 cell, if it already has a