diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2020-06-06 15:31:39 +0100 |
---|---|---|
committer | Daniel Pinto <danielpinto52@gmail.com> | 2020-06-06 15:31:39 +0100 |
commit | 3c1317eba84cc008f534d1d39029b8924525f264 (patch) | |
tree | 59c1f5cfb39b15276def8b982ccf79ab0b52bc9f | |
parent | 87eefe8c537bdbab2a34394ee094338e862e9d69 (diff) | |
download | torspec-3c1317eba84cc008f534d1d39029b8924525f264.tar.gz torspec-3c1317eba84cc008f534d1d39029b8924525f264.zip |
Remove padding from ntor-onion-key #7869
-rw-r--r-- | dir-spec.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index 626b9ce..3786d48 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -1505,6 +1505,10 @@ The "onion-key" element as specified in section 2.1.1. + When generating microdescriptors for consensus method 30 or later, + the trailing = sign must be absent. For consensus method 29 or + earlier, the trailing = sign must be present. + "ntor-onion-key" SP base-64-encoded-key NL [At most once] @@ -2988,6 +2992,9 @@ * If consensus method 29 or later is used, microdescriptor "family" lines are canonicalized to improve compression. + * If consensus method 30 or later is used, the base64 encoded + ntor-onion-key does not include the trailing = sign. + The signatures at the end of a consensus document are sorted in ascending order by identity digest. @@ -3073,6 +3080,7 @@ "27" -- Adds support for "a" lines in microdescriptor consensues. "28" -- Removes "a" lines from microdescriptors. "29" -- Canonicalizes families in microdescriptors. + "30" -- Removes padding from ntor-onion-key. Before generating a consensus, an authority must decide which consensus method to use. To do this, it looks for the highest version number |