[issue2838] Verify callback for SSL

2008-05-14 Thread Ruben Kerkhof
Ruben Kerkhof <[EMAIL PROTECTED]> added the comment: Hi Bill, When I include the server certificate in ca_certs, verification succeeds, and I can view the peer certificate dict with getpeercert(False) When I set ca_certs to none and ssl.CERT_NONE, I can still call getpeercert(True) an

[issue2838] Verify callback for SSL

2008-05-12 Thread Ruben Kerkhof
New submission from Ruben Kerkhof <[EMAIL PROTECTED]>: I've been playing with the new SSL module, and so far it works great. However, when using it to connect to a host with a self signed certificate, verification fails when I specify ssl.CERT_REQUIRED (as expected). I know that I&#

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2008-05-03 Thread Ruben Kerkhof
Ruben Kerkhof <[EMAIL PROTECTED]> added the comment: Documenting this would be great, since it caught me by surprise and took a while to figure out. To get the Cmd module to work, atm you have to override the call to parse_and_bind, setting self.completekey isn't enough, so

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2008-05-02 Thread Ruben Kerkhof
New submission from Ruben Kerkhof <[EMAIL PROTECTED]>: Hi, Leopard ships with libedit, which is almost the same as readline, but has another way to configure completion keys. To enable tab completion you have to use rl.parse_and_bind("bind ^I complete") instead of rl.parse_a