aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-09-15 13:29:48 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-15 15:17:12 -0400
commit80a7a34755e7b7163778c5475f9a6459febb1bf4 (patch)
treefd0fb0a644d0673dc5fcee598252b9508402bc05 /doc/spec
parentc5f7f04aff850e8e3fad28e93e6300447625fdbb (diff)
downloadtor-80a7a34755e7b7163778c5475f9a6459febb1bf4.tar
tor-80a7a34755e7b7163778c5475f9a6459febb1bf4.tar.gz
Revise 162's idea of how detached signatures work with flavors
The original proposal was vague and would have made older Tors reject detached-signature documents as soon as they saw one with flavors.
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/proposals/162-consensus-flavors.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/spec/proposals/162-consensus-flavors.txt b/doc/spec/proposals/162-consensus-flavors.txt
index 8fdf9d07b..56a0b0e1a 100644
--- a/doc/spec/proposals/162-consensus-flavors.txt
+++ b/doc/spec/proposals/162-consensus-flavors.txt
@@ -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.