diff options
author | David Goulet <dgoulet@ev0ke.net> | 2016-05-12 13:43:47 -0400 |
---|---|---|
committer | David Goulet <dgoulet@ev0ke.net> | 2016-05-12 13:43:47 -0400 |
commit | 6945958d997401511fc6dcd36c4e37a6233f2a11 (patch) | |
tree | e0e3ada0818f1839bd9d054e66b4f6fe381d3f3e /proposals/250-commit-reveal-consensus.txt | |
parent | 0c5563ae78fef607d4759435c7610806d5d241ad (diff) | |
download | torspec-6945958d997401511fc6dcd36c4e37a6233f2a11.tar.gz torspec-6945958d997401511fc6dcd36c4e37a6233f2a11.zip |
prop250: Add the Version field to a commit
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'proposals/250-commit-reveal-consensus.txt')
-rw-r--r-- | proposals/250-commit-reveal-consensus.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/proposals/250-commit-reveal-consensus.txt b/proposals/250-commit-reveal-consensus.txt index cd19b4c..0e7675e 100644 --- a/proposals/250-commit-reveal-consensus.txt +++ b/proposals/250-commit-reveal-consensus.txt @@ -423,14 +423,15 @@ Supersedes: 225 seen from the other authorities. To do so, it includes the following in its votes: - "shared-rand-commit" SP ALGNAME SP IDENTITY SP COMMIT [SP REVEAL] NL + "shared-rand-commit" SP VERSION SP ALGNAME SP IDENTITY SP COMMIT [SP REVEAL] NL - where IDENTITY is the authority's SHA1 identity fingerprint and COMMIT is the - encoded commit [COMMITREVEAL]. Authorities during the reveal phase can also - optionally include an encoded reveal value REVEAL. There MUST be only one - line per authority else the vote is considered invalid. Finally, the ALGNAME - is the hash algorithm that should be used to compute COMMIT and REVEAL which - is "sha3-256" for version 1. + where VERSION is the version of the protocol the commit was created with. + IDENTITY is the authority's SHA1 identity fingerprint and COMMIT is the + encoded commit [COMMITREVEAL]. Authorities during the reveal phase can + also optionally include an encoded reveal value REVEAL. There MUST be only + one line per authority else the vote is considered invalid. Finally, the + ALGNAME is the hash algorithm that should be used to compute COMMIT and + REVEAL which is "sha3-256" for version 1. 4.1.5. Shared Random Value [SRVOTE] @@ -481,7 +482,7 @@ Supersedes: 225 The following details the commitment and reveal section. They are encoded the same as in the vote. This makes it easier for implementation purposes. - "Commit" SP algname SP identity SP commit [SP reveal] NL + "Commit" SP version SP algname SP identity SP commit [SP reveal] NL [Exactly once per authority] |