[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #21498 [Core Tor/Tor]: dir-spec says extra-info-digest has one digest but the code has two
#21498: dir-spec says extra-info-digest has one digest but the code has two
------------------------------+------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: spec
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------
dir-spec.txt says
{{{
"extra-info-digest" digest NL
[At most once]
"Digest" is a hex-encoded digest (using upper-case characters) of
the
router's extra-info document, as signed in the router's extra-info
(that is, not including the signature). (If this field is absent,
the
router is not uploading a corresponding extra-info document.)
}}}
But the reality is that these lines look like
{{{
extra-info-digest 9A0DC5BE9F00423F1929B10E9FEF7942481215AB
HjMoC57FJUUXJ7Gwv/ouFb+otnZIfxu9cj1sh6Nd618
}}}
It looks like that second digest is a sha256, and it is related to the
introduction of the extra_info_digest256 element in routerinfo_t.
I'm guessing the fix is to update the spec -- and maybe figure out what
went wrong in the earlier proposal and ticket process that updating the
spec got skipped. :)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21498>
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