diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-29 12:08:25 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-29 12:10:33 -0400 |
commit | 3bdbe6c9f290603c51c9b6700df5473f5c8b9073 (patch) | |
tree | 642319e33774607b57106f637743b3d4022f8ad5 /proposals/224-rend-spec-ng.txt | |
parent | ed88a5d4d930928d687f82ee3d47d96e6ee11c30 (diff) | |
download | torspec-3bdbe6c9f290603c51c9b6700df5473f5c8b9073.tar.gz torspec-3bdbe6c9f290603c51c9b6700df5473f5c8b9073.zip |
prop224: Fix ordering of the hsdir_index construction
Turns out that it was implemented with period_num first and then
period_length.
Like asn said, let us consider that as an interesting engineering artifact
and change the spec instead of the code that has been tested like that for a
while now.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'proposals/224-rend-spec-ng.txt')
-rw-r--r-- | proposals/224-rend-spec-ng.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proposals/224-rend-spec-ng.txt b/proposals/224-rend-spec-ng.txt index dda7eb2..8ee5cdd 100644 --- a/proposals/224-rend-spec-ng.txt +++ b/proposals/224-rend-spec-ng.txt @@ -797,8 +797,8 @@ Table of contents: hsdir_index(node) = H("node-idx" | node_identity | shared_random_value | - INT_8(period_length) | - INT_8(period_num) ) + INT_8(period_num) | + INT_8(period_length) ) where shared_random_value is the shared value generated by the authorities in section [PUB-SHAREDRANDOM], and node_identity is the ed25519 identity |