1 suggestion
Earlier concerns neither republished nor resolved: 1 minor finding. See the Run archive for their assessments.
Optional improvements
[suggestion] · SAFECOOKIE failure tests do not check that authentication stops
The AUTHCHALLENGE-error and invalid-server-nonce tests check only warnings, so they can miss a regression that logs the failure but still sends AUTHENTICATE.
Location: test/functional/feature_torcontrol.py:398 (head).
Details and suggested fix
Both tests stop the mock immediately after observing the warning. The invalid-nonce fixture supplies a valid SERVERHASH computed over the same 31-byte nonce it advertises. If the return after the nonce-length warning were removed, the subsequent hash comparison would pass and the node would send AUTHENTICATE without failing the existing assertion. Production currently stops correctly on both failure paths. Add ensure_for(duration=2, f=lambda: len(mock_tor.received_commands) == 2) after each failure reply, as the hash-mismatch test already does. Neither path disconnects, and the manual-mode mock keeps the socket open, so reconnect commands should not interfere with this check.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: Guarantee that the fabricated server hash mismatches