[tor-bugs] #20400 [- Select a component]: Unreachable code in rend_service_derive_key_digests()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 19 00:37:54 UTC 2016
#20400: Unreachable code in rend_service_derive_key_digests()
--------------------------------------+-----------------
Reporter: twim | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: - Select a component | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
--------------------------------------+-----------------
`rend_service_derive_key_digests()` calculates service ID before key
digest. But service ID depends on key digest. So if digest calculation
fails it will appear in log as `Internal error: couldn't encode service
ID.` not as `Couldn't compute hash of public key.`.
btw, what's the point of `Internal error: ` prefix?
--
Ticket URL: <https://troodi.torproject.org/projects/tor/ticket/20400>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list