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.
This commit is contained in:
Nick Mathewson 2009-09-15 13:29:48 -04:00
parent c5f7f04aff
commit 80a7a34755

View 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.