]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Revise 162's idea of how detached signatures work with flavors
authorNick Mathewson <nickm@torproject.org>
Tue, 15 Sep 2009 17:29:48 +0000 (13:29 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 15 Oct 2009 19:17:12 +0000 (15:17 -0400)
The original proposal was vague and would have made older Tors reject
detached-signature documents as soon as they saw one with flavors.

doc/spec/proposals/162-consensus-flavors.txt

index 8fdf9d07bff393d151a9b2474e5b3a9b48d463dc..56a0b0e1abba4637d2caae980531dc81d4247c7d 100644 (file)
@@ -91,9 +91,18 @@ Spec modifications:
 
    3. Document format: detached signatures.
 
-   In addition to the current detached signature format, we allow
-   the first line to take the form,
-      "consensus-digest" SP flavor SP 1*(Algname "=" Digest) NL
+   We amend the detached signature format to include more than one
+   consensus-digest line, and more than one set of signatures.
+
+   After the consensus-digest line, we allow more lines of the form:
+      "additional-digest" SP flavor SP algname SP digest NL
+
+   Before the directory-signature lines, we allow more entries of the form:
+      "additional-signature" SP flavor SP algname SP identity SP
+           signing-key-digest NL signature.
+
+   [We do not use "consensus-digest" or "directory-signature" for flavored
+   consensuses, since this could confuse older Tors.]
 
    The consensus-signatures URL should contain the signatures
    for _all_ flavors of consensus.