[tor-bugs] #24972 [Core Tor/Tor]: Bug: src/or/hs_descriptor.c:2357: hs_desc_encode_descriptor: Non-fatal assertion !(ret < 0) failed.

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 23 11:27:49 UTC 2018


#24972: Bug: src/or/hs_descriptor.c:2357: hs_desc_encode_descriptor: Non-fatal
assertion !(ret < 0) failed.
----------------------------+------------------------------------
 Reporter:  asn             |          Owner:  (none)
     Type:  defect          |         Status:  new
 Priority:  Medium          |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  tor-hs prop224  |  Actual Points:
Parent ID:                  |         Points:  2
 Reviewer:                  |        Sponsor:
----------------------------+------------------------------------

Comment (by asn):

 Also uploading some info logs.

 It seems like the problem occurs only for the `current` descriptor, wheras
 the `next` one gets uploaded normally. You can also see various info-level
 HSDir descriptor rejection logs even from before the non-fatal assert
 started appearing.

 It's a bit sad we don't have more precise logs from `tor_cert_checksig()`
 so that we know how the signature check failed. It could even be an
 expiration issue, but that wouldn't make much sense since the cert is made
 on demand before the desc encode...

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


More information about the tor-bugs mailing list