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

[tor-commits] [torspec/master] prop284: 32 bytes base64 encoded is 43 bytes, not 32



commit 60f572f0f55a168af06e736bb23a7b51e0b1e1df
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date:   Fri Nov 10 12:06:57 2017 -0500

    prop284: 32 bytes base64 encoded is 43 bytes, not 32
    
    Trivial fix.
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
 proposals/284-hsv3-control-port.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proposals/284-hsv3-control-port.txt b/proposals/284-hsv3-control-port.txt
index e229bf9..7e6a72d 100644
--- a/proposals/284-hsv3-control-port.txt
+++ b/proposals/284-hsv3-control-port.txt
@@ -126,7 +126,7 @@ Status: Open
      HSAddress = 16*Base32Character / 56*Base32Character / "UNKNOWN"
      AuthType = "NO_AUTH" / "BASIC_AUTH" / "STEALTH_AUTH" / "UNKNOWN"
      HsDir = LongName / Fingerprint / "UNKNOWN"
-     DescriptorID = 32*Base32Character / 32*Base64Character
+     DescriptorID = 32*Base32Character / 43*Base64Character
      Reason = "BAD_DESC" / "QUERY_REJECTED" / "UPLOAD_REJECTED" / "NOT_FOUND" /
               "UNEXPECTED" / "QUERY_NO_HSDIR"
      Replica = 1*DIGIT
@@ -139,7 +139,7 @@ Status: Open
    The "HSAddress" key is extended to accept 56 base32 characters which is the
    format of a version 3 onion address.
 
-   The "DescriptorID" key is extended to accept 32 base64 characters which is
+   The "DescriptorID" key is extended to accept 43 base64 characters which is
    the descriptor blinded key used for the index value at the "HsDir".
 
    Because client authentication is not yet implemented, the "AuthType" field

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