#28664: Describe consensus digest calculation ------------------------------+-------------------- Reporter: atagar | Owner: (none) Type: defect | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Keywords: Actual Points: | Parent ID: Points: | Reviewer: Sponsor: | ------------------------------+-------------------- Hi lovely network team folks. No doubt I'm being blind but I'm having difficulty figuring out how to calculate network status document digests.
During the voting period (minutes 55-60 of the hour) I fetched the detached signatures and upcoming consensus. The detached signatures cite the digest... {{{ % curl http://128.31.0.39:9131/tor/status-vote/next/consensus-signatures > sigs % curl http://128.31.0.39:9131/tor/status-vote/next/consensus > next_consensus % grep consensus-digest sigs consensus-digest 296BA01987256A1C8EFB20E17667152DCFA50755 }}} But in trying hex encoded sha1s of various ranges of the consensus I'm having difficulty getting a value that matches that. No doubt I'm missing something but the spec is unhelpfully vague saying simply 'this is the digest' without citing a section describing how it's calculated... https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n3309 It's probably buried in there somewhere but I've skimmed through the spec a few times and it's not jumping out at me. Mind clarifying in the spec how to calculate this? Thanks! -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28664> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs