From ad7b206bd1a74a36d9285d287603fa3792739c1c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 22 Jan 2024 08:22:24 -0500 Subject: Correct the start time for the OPE-based RC algorithm We need to start counting from the beginning of the SRV protocol run, not from the beginning of the time period: Otherwise, we would have to encode negative numbers. --- spec/rend-spec/revision-counter-mgt.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/rend-spec/revision-counter-mgt.md b/spec/rend-spec/revision-counter-mgt.md index a59c606..f5c9a9c 100644 --- a/spec/rend-spec/revision-counter-mgt.md +++ b/spec/rend-spec/revision-counter-mgt.md @@ -30,7 +30,8 @@ service instances need to without an actual coordination mechanism. Let T be the number of seconds that have elapsed -since the beginning of the time period, +since the start time of the SRV protocol run +that corresponds to this descriptor, plus 1. (T must be at least 1.) Let S be a per-time-period secret that all the service providers share. -- cgit v1.2.3-54-g00ecf