aboutsummaryrefslogtreecommitdiff
path: root/doc/rend-spec.txt
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-05 05:04:55 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-05 05:04:55 +0000
commitd70063578d331769bbed3d61fd94c484e67e46bc (patch)
tree35c409e0b24345d47266c2328bb9204024c26e11 /doc/rend-spec.txt
parentfda9d9c779168eb232e491906487a6be7690e3c0 (diff)
downloadtor-d70063578d331769bbed3d61fd94c484e67e46bc.tar
tor-d70063578d331769bbed3d61fd94c484e67e46bc.tar.gz
rend point nickname is nul-padded to avoid revealing rend point
svn:r1474
Diffstat (limited to 'doc/rend-spec.txt')
-rw-r--r--doc/rend-spec.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/rend-spec.txt b/doc/rend-spec.txt
index 3a7d40930..a43361227 100644
--- a/doc/rend-spec.txt
+++ b/doc/rend-spec.txt
@@ -244,11 +244,11 @@ Tor Rendezvous Spec
PK_ID Identifier for Bob's PK [20 octets]
Encrypted to Bob's PK:
- RP Rendezvous point's nickname [variable]
+ RP Rendezvous point's nickname [20 octets]
RC Rendezvous cookie [20 octets]
g^x Diffie-Hellman data, part 1 [128 octetes]
- PK_ID is the hash of Bob's public key. RP is NUL-terminated.
+ PK_ID is the hash of Bob's public key. RP is NUL-padded.
The data is encrypted to Bob's PK as follows: Suppose Bob's PK is L octets
long. If the data to be encrypted is shorter than L-42, then it is