From 7ad2fff7ef43678411b8e8ba6c40a1aaed27ee28 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Fri, 13 Apr 2018 15:11:32 +0300 Subject: 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. --- rend-spec-v3.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rend-spec-v3.txt') 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: -- cgit v1.2.3-54-g00ecf