aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-23 08:28:28 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-23 08:28:28 -0400
commit38606af8ae65d9ad8c6784f68521ed3941643684 (patch)
treeb0bbffe1e0445dafb470c0133e5efd85d7a90015 /dir-spec.txt
parentfd47b40097d3a1482bafec813078660307d60baa (diff)
parent3c1317eba84cc008f534d1d39029b8924525f264 (diff)
downloadtorspec-38606af8ae65d9ad8c6784f68521ed3941643684.tar.gz
torspec-38606af8ae65d9ad8c6784f68521ed3941643684.zip
Merge remote-tracking branch 'jigsaw/remove-padding-fix-7869'
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index 0f31047..7ae5acd 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