]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
rend point nickname is nul-padded to avoid revealing rend point
authorRoger Dingledine <arma@torproject.org>
Mon, 5 Apr 2004 05:04:55 +0000 (05:04 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 5 Apr 2004 05:04:55 +0000 (05:04 +0000)
svn:r1474

doc/rend-spec.txt

index 3a7d409303190b51e153e51c2cb4e93d294b1384..a4336122791c0e6483ec014718b37f9a15e13ce9 100644 (file)
@@ -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