[or-cvs] mention the existence of dir-spec in tor-spec, and note tha...

arma at seul.org arma at seul.org
Sat Jul 15 05:50:25 UTC 2006


Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv23265

Modified Files:
	tor-spec.txt 
Log Message:
mention the existence of dir-spec in tor-spec, and note that we need
to update it.


Index: tor-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/tor-spec.txt,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -p -d -r1.118 -r1.119
--- tor-spec.txt	4 Jul 2006 16:07:49 -0000	1.118
+++ tor-spec.txt	15 Jul 2006 05:50:22 -0000	1.119
@@ -856,7 +856,8 @@ The items' formats are as follows:
 
       A fingerprint (a HASH_LEN-byte of asn1 encoded public key, encoded
       in hex, with a single space after every 4 characters) for this router's
-      identity key.
+      identity key. A descriptor is considered invalid (and MUST be
+      rejected) if the fingerprint line does not match the public key.
 
       [We didn't start parsing this line until Tor 0.1.0.6-rc; it should
        be marked with "opt" until earlier versions of Tor are obsolete.]
@@ -943,6 +944,10 @@ line, they must appear in the "ports" li
 
 8.3. Directory format
 
+[Sections 8.3-8.5 describe the old version 1 directory format, which is
+used by Tor 0.0.9.x and 0.1.0.x. See dir-spec.txt for the new version
+2 format, used by 0.1.1.x and 0.1.2.x. -RD]
+
 A Directory begins with a "signed-directory" item, followed by one each of
 the following, in any order: "recommended-software", "published",
 "router-status", "dir-signing-key".  It may include any number of "opt"
@@ -1017,6 +1022,10 @@ it SHOULD reject the entire directory.
 
 8.4. Network-status descriptor
 
+[Sections 8.3-8.5 describe the old version 1 directory format, which is
+used by Tor 0.0.9.x and 0.1.0.x. See dir-spec.txt for the new version
+2 format, used by 0.1.1.x and 0.1.2.x. -RD]
+
 A "network-status" (a.k.a "running-routers") document is a truncated
 directory that contains only the current status of a list of nodes, not
 their actual descriptors.  It contains exactly one of each of the following



More information about the tor-commits mailing list