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

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



#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):

 Thanks irl. Sunk some time into this but unfortunately I'm a bit stuck. I
 began with sha256 digests of extrainfo descriptors because we can easily
 check their corresponding server descriptor to see if we got the correct
 hash or not.

 A commit that attempts to do this is available in the 'sha256_digest'
 branch of my personal repo...

 https://gitweb.torproject.org/user/atagar/stem.git/commit/?h=sha256_digest&id=70d6e35047b3dc15fcd8438a9eb824e0105ed364

 Unfortunately though the spec seems pretty clear I'm somehow not matching
 what server descriptors expect. Would you mind seeing if you can spot what
 I'm buggering up here?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28398#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs