[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Remove padding from ntor-onion-key #7869



commit 3c1317eba84cc008f534d1d39029b8924525f264
Author: Daniel Pinto <danielpinto52@xxxxxxxxx>
Date:   Sat Jun 6 15:31:39 2020 +0100

    Remove padding from ntor-onion-key #7869
---
 dir-spec.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits