[tor-bugs] #21604 [Core Tor/Stem]: add descriptor-id calc functionality

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 2 10:26:01 UTC 2017


#21604: add descriptor-id calc functionality
-------------------------------+--------------------
     Reporter:  cypherpunks    |      Owner:  atagar
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 Would be nice if you could add a functionality that takes the following
 inputs:
 - an onion address
 - unix time in UTC
 - number of replica ids

 and calculates the descriptor-id as defined in rend-spec:
 https://gitweb.torproject.org/torspec.git/tree/rend-spec.txt#n227


 I have not found such a functionality in
 https://stem.torproject.org/api.html#utilities

 background:
 https://lists.torproject.org/pipermail/tor-
 relays/2017-February/012026.html
 https://lists.torproject.org/pipermail/tor-
 relays/2017-February/012027.html

 go implementation:

 https://github.com/nogoegst/onionutil/commit/538356c9398dbb1ac3560832abfa16a8ab442b42
 https://gist.github.com/nogoegst/895dde228496e04f409fc6d160a5de5a

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21604>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list