diff options
author | George Kadianakis <desnacked@riseup.net> | 2018-04-13 15:11:32 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-04-13 15:12:36 +0300 |
commit | 7ad2fff7ef43678411b8e8ba6c40a1aaed27ee28 (patch) | |
tree | 4c49e416129ff8cdcfdfb0a62a246ff77b5e7959 /rend-spec-v3.txt | |
parent | a442ab92e84a044ffe90cad37cd517e0f98e1bea (diff) | |
download | torspec-7ad2fff7ef43678411b8e8ba6c40a1aaed27ee28.tar.gz torspec-7ad2fff7ef43678411b8e8ba6c40a1aaed27ee28.zip |
Fix inconsistencies on HS v3 spec and cert-spec.txt.
Pointed out by inkylatenoth in:
https://lists.torproject.org/pipermail/tor-dev/2017-October/012527.html
Fixes ticket #24544.
Diffstat (limited to 'rend-spec-v3.txt')
-rw-r--r-- | rend-spec-v3.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rend-spec-v3.txt b/rend-spec-v3.txt index 019b61e..fd51cb2 100644 --- a/rend-spec-v3.txt +++ b/rend-spec-v3.txt @@ -1094,7 +1094,8 @@ Table of contents: An encrypted blob, whose format is discussed in [HS-DESC-ENC] below. The blob is base64 encoded and enclosed in -----BEGIN MESSAGE---- and - ----END MESSAGE---- wrappers. + ----END MESSAGE---- wrappers. (The resulting document does not end with + a newline character.) "signature" SP signature NL @@ -2168,7 +2169,7 @@ A.2. Tor's key derivation scheme then clamp the blinding factor 'h' according to the ed25519 spec: h[0] &= 248; - h[31] &= 127; + h[31] &= 63; h[31] |= 64; and do the key derivation as follows: |