Connecting to tor over a socks 5 connection no longer works in 3.5.7
I upgraded tor today on my machine and found that I can no longer connect over a socks 5 connection. I'm using this node library https://github.com/JoshGlazebrook/socks and it has been working with no problems before (0.3.4 and earlier). But after upgrading I'm seeing: Socks5 proxy rejected connection - Failure when connecting and it syslog I see:
Jan 10 21:58:22 chrx Tor: socks5: parsing failed - invalid user/pass authentication message. Jan 10 21:58:22 chrx Tor: Fetching socks handshake failed. Closing.
Changing the config to use socks 4 seems to work.
The project I'm working that uses this is scuttlebutt. And the code doing the onion connection locally is here: