[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-talk] rend-spec.txt HS stuff



https://gitweb.torproject.org/torspec.git/blob/HEAD:/rend-spec.txt

I think there are some errors in this document...

=== item 1 ===

line 251:
"time-period" changes periodically as a function of time and
"permanent-id".

If 'permanent-id = H(public-key)[:10]' (line 239), and consulting
the definition of permanent-id-byte around line 261, then 'time-period'
changes ONLY as a function of time, as per formula in line 256:
 time-period = (current-time + permanent-id-byte * 86400 / 256) / 86400
not as a function of both.

=== item 2 ===

The paragraph around line 262 gets weird in places...

- The document fails to declare Bob's 'permanent identifier'
that was used for the example. ie: abcdefghijklmnop.onion

- line 262, I show:

(13753 * 86400 - 1188241957) * 256 / 86400 = 51.0903703703
(1188241957 + 51 * 86400 / 256) / 86400 = 13752.9996469907

So the '143' on that line seems bogus. Am I missing something? Where
did it come from?

- I think there should maybe be some preliminary rounding or mod
rules regarding the epoch timestamp. Though I guess integer math
covers it.

=== item 3 ===

Should at least one of the eight dir-source's be running the stable
train (0.2.1.30), to be able to respond to v0 descriptor requests
(/tor/rendezvous/)? At least for testing until client-versions
forces said clients (and testers) and their v0 queries out.

=== item 4 ===

Remove blank line at 252 and rewrap :)
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk