[tor-bugs] #3958 [Torctl]: pytorctl should learn to try both CookieAuth and PasswordAuth

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Sep 8 00:20:57 UTC 2011


#3958: pytorctl should learn to try both CookieAuth and PasswordAuth
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:  atagar  
     Type:  defect  |         Status:  assigned
 Priority:  normal  |      Milestone:          
Component:  Torctl  |        Version:          
 Keywords:          |         Parent:          
   Points:          |   Actualpoints:          
--------------------+-------------------------------------------------------

Comment(by atagar):

 TorCtl has three methods for connecting...
 - connect() which may be interative
 - preauth_connect() which just returns the auth type and unauthenticated
 connection, letting the caller handle that
 - the connection can be made manually and authenticated, which is how it
 was done before the above existed

 If starting non-interactively is important then they shouldn't be using
 the connect() method.

 This change will need to break backward compatibility for preauth_connect
 callers since the return value needs to be an auth type tuple, but arm is
 probably the only caller so I doubt Mike will mind much.

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


More information about the tor-bugs mailing list