[tor-relays] descriptor-id calc tool?

Ivan Markin twim at riseup.net
Tue Feb 28 13:28:36 UTC 2017

On Tue, Feb 28, 2017 at 02:09:00AM +0000, nusenu wrote:
> >> Is there a tool out there that tells me which HSDir is/will probably be
> >> responsible for a given onion address (and at what time)?
> > 
> > There's no tool, unless you can reverse SHA1.
> > (Or brute-force a set of popular onion addresses.)
> I probably was not very clear in my question. I'm not aiming for the
> reverse path, just the normal calculation a tor client does given an
> onion address but instead of just calculating the current descriptor-id,
> print descriptor-ids for the future N days for onion address M (for the
> pre-prop224 world).

FYI https://gist.github.com/nogoegst/895dde228496e04f409fc6d160a5de5a

$ go run onion-desc-advance.go -time 1488288001 yrcfcqhja2ide7yh

prints descriptor IDs for the given time for replica #1 and #2.

Ivan Markin

More information about the tor-relays mailing list