diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-14 14:33:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-14 14:33:12 -0500 |
commit | 4e5b61abb344bc2a65d25e7e8997cbb23071bd03 (patch) | |
tree | 7035645e58c696cc5d37ec6588993c88e0d0d69e /proposals/285-utf-8.txt | |
parent | 5ba8d5a7d08c09ae9949f20eb0633fc381c2dbc6 (diff) | |
download | torspec-4e5b61abb344bc2a65d25e7e8997cbb23071bd03.tar.gz torspec-4e5b61abb344bc2a65d25e7e8997cbb23071bd03.zip |
285: fix up some of the simpler issues
Diffstat (limited to 'proposals/285-utf-8.txt')
-rw-r--r-- | proposals/285-utf-8.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/proposals/285-utf-8.txt b/proposals/285-utf-8.txt index 939399f..a7f4626 100644 --- a/proposals/285-utf-8.txt +++ b/proposals/285-utf-8.txt @@ -49,7 +49,7 @@ Status: Open First, we should make Tor instances start warning about any hidden service descriptors whose bodies, post-decryption, contain non-utf-8 plaintext. At the same time, we add a consensus parameter to - indicate that hidden service descriptors with non-utf-8 plantexts + indicate that hidden service descriptors with non-utf-8 plaintexts should be rejected entirely: "reject-encrypted-non-utf-8". If that parameter is set to 1, then hidden service clients will not only warn, but reject the descriptors. @@ -58,3 +58,12 @@ Status: Open the "reject-encrypted-non-utf-8" parameter, that parameter can be set to 1. +2.2. Which UTF-8 exactly? + + We define the allowable set of UTF-8 as: + * Encoding the codepoints U+01 through U+10FFFF, + * but excluding the codepoints U+D800 through U+DFFF, + * each encoded with the shortest possible encoding. + + + |