[tor-bugs] #28398 [Core Tor/Stem]: Please provide a method on descriptors for calculating digests

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 21 20:33:48 UTC 2018


#28398: Please provide a method on descriptors for calculating digests
---------------------------+------------------------
 Reporter:  irl            |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by atagar):

 Hi irl, just a quick update that microdescriptors
 [https://gitweb.torproject.org/stem.git/commit/?id=5495c57 now have a
 digest() method]. In implementing this I found and fixed a few past
 mistakes of mine...

 * Tor has now implemented microdescriptor downloading via DirPorts. As
 such, undeprecated our stem.descriptor.remote method for this and improved
 it a bit ([https://gitweb.torproject.org/stem.git/commit/?id=c606f44
 commit]).
 * Our newly added from_str() method didn't work for router status entries
 ([https://gitweb.torproject.org/stem.git/commit/?id=310b5ca commit]).
 * Router status entries referenced a hex rather than base64 digest for
 microdescriptors
 ([https://gitweb.torproject.org/stem.git/commit/?id=e30b130 commit]).

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


More information about the tor-bugs mailing list