From 863055809042b6c2977cc6da70bd54780c12da68 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 7 Jul 2023 15:22:32 -0400 Subject: Document an onionbalance (?) behavior wrt missing newlines. C Tor tolerates this; Arti didn't (until arti!1389). Also see !109, where we noted a different occurrence of this problem. --- rend-spec-v3.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rend-spec-v3.txt') diff --git a/rend-spec-v3.txt b/rend-spec-v3.txt index e1d6174..274303c 100644 --- a/rend-spec-v3.txt +++ b/rend-spec-v3.txt @@ -1275,7 +1275,6 @@ Table of contents: discussed in [HS-DESC-SECOND-LAYER] below. The blob is base64 encoded and enclosed in -----BEGIN MESSAGE---- and ----END MESSAGE---- wrappers. - Compatibility note: The C Tor implementation does not include a final newline when generating this first-layer-plaintext section; other implementations MUST accept this section even if it is missing its final @@ -1517,6 +1516,11 @@ Table of contents: Clients who manage to extract the introduction points of the hidden service can proceed with the introduction protocol as specified in [INTRO-PROTOCOL]. + Compatibility note: At least some versions of OnionBalance do not include + a final newline when generating this inner plaintext section; other + implementations MUST accept this section even if it is missing its final + newline. + 2.5.3. Deriving hidden service descriptor encryption keys [HS-DESC-ENCRYPTION-KEYS] In this section we present the generic encryption format for hidden service -- cgit v1.2.3-54-g00ecf