[Whonix-devel] onion-grater fix Tor control auth cookie authentication even if HashedControlPassword is set

Patrick Schleizer adrelanos at riseup.net
Sat Sep 15 20:29:00 CEST 2018


Hi!

https://github.com/Whonix/onion-grater/commit/70e735dae1c15920c356b07fc6aaf4b9589b465a

Please review and merge.

The more I think about it, perhaps we could abolish DEFAULT_COOKIE_PATH
= '/run/tor/control.authcookie' altogether?

PROTOCOLINFO tells controllers (like stem) where the cookie file is
located. It doesn't rely on a default path. For an example of what this
looks like on the wire please see...

https://stem.torproject.org/faq.html#i-m-using-cookie-authentication

Then we might be able to simply this and just use authenticate().

Cheers,
Patrick



More information about the Whonix-devel mailing list