SSL and confirming certs

2006-10-26 Thread Yogesh Chawla - PD
Hello All, Here is a script I wrote to validate the cert sent by the server. It just makes system calls to open ssl. This is because python support is inadequate in this area. Let me know if this is helpful. I monkeyed with twisted, m2crypto, pyopenssl, and found myself sinking into a deep depr

FTP over TLS

2006-10-24 Thread Yogesh Chawla - PD
Hello All, The state of wisc. wrote a script to do FTP over TLS using pycurl. I can post this here, but first need to yank a bunch of password info out and get some security clearance. If someone is interested and wants to email me offline, please do so at this address. Cheers, Yogesh -- http:/

SSL follow up

2006-10-23 Thread Yogesh Chawla - PD
Hi Paul and John, Thanks for the SSL follow up messages. I have 2 questions. 1) How do we get the Server cert in python. John wrote: "Nor does there seem to be a way to get at the certificate itself from within Python." Perhaps pycurl will allow us to do this. Is there another method to get th

https client certificate validation

2006-10-23 Thread Yogesh Chawla - PD
Hello All, I work for the State of Wisconsin and we are trying to build a reference implementation using python. Our goals are this: 1) establish an HTTPS connection between our client and ourselves 2) exchange client and server certificates to perform mutual authentication We only need to writ

Re: wxPython OGL future

2005-02-14 Thread PD
Hi Peter, I did look at the code, and did run several examples on it. It _is_ pretty well organized and easy to read through, and youre right, I think i might be able to add missing functionality if need be. I don't think I want that much out of it necessarily. I just feel really weird writing ne

Re: wxPython OGL future

2005-02-14 Thread PD
Hi D H, Thank you for the suggestions. I would be interested in Jython but I had some rough runs with it and I think I would kind of want to stick to wxWidgets since I think the GUI is kind of cleaner. Im trying to avoid reinventing the wheel so pyxel is a too little of a framework for me. I look

Re: wxPython OGL future

2005-02-14 Thread PD
Hi Tom, OGL is a library that is part of wxPython (wx.lib.ogl). I am trying to put together some kind of schematic editor. It would be a block diagram of modules and sometimes a statemachine type of figure. Similar to something Visio does, but about a gazillion times simpler. Thanks Pouya -- ht

wxPython OGL future

2005-02-14 Thread PD
Hi Everyone, I am sort of a new developer to python and working in an academic environment. I climbed the learning curve on wxPython far enough to get the functionality I want out of it so far... Now Im in need of a diagramming library (something visio-like) to use for my software and the only opt

String backslash characters

2004-12-23 Thread PD
tal why is an 8 accepted? for instance is 378 really 11, 111, 1000 which is then the two characters: <0001>,<000>. And why is this accepted? I apologize if this has been discussed or if it is obvious. I would appreciate it if someone could clear me up. Yours, PD -- http://mail.