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

[tor-commits] [torspec/master] control-spec: Clarify whether "=" will be present in a LongName.



commit 6c1a2e1e96bcb4d1dce49fb4b31ba68af036e5fc
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Fri Dec 15 22:17:59 2017 +0000

    control-spec: Clarify whether "=" will be present in a LongName.
    
    This was changed in tor in commit d7a3e336ee5, to remove denoting with
    an "=" or "~" whether the OR in question had the Named flag.
---
 control-spec.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index c9df06d..a98fc84 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -203,6 +203,12 @@
   ; The tokens that implement the above follow:
 
   ServerSpec = LongName / Nickname
+  LongName   = Fingerprint [ "~" Nickname ]
+
+  ; For tors older than 0.3.1.3-alpha, LongName may have included an equal
+  ; sign ("=") in lieu of a tilde ("~").  The presence of an equal sign
+  ; denoted that the OR posessed the "Named" flag:
+
   LongName   = Fingerprint [ ( "=" / "~" ) Nickname ]
 
   Fingerprint = "$" 40*HEXDIG

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