From info at EGENIX.COM Fri Dec 19 11:06:04 2008 From: info at EGENIX.COM (eGenix Team: M.-A. Lemburg) Date: Fri, 19 Dec 2008 11:06:04 +0100 Subject: [PYTHON-CRYPTO] ANN: eGenix pyOpenSSL Distribution 0.8.0-0.9.8i-1 Message-ID: <494B720C.7040106@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.8.0-0.9.8i-1 An easy to install and use repackaged distribution of the pyOpenSSL Python interface for OpenSSL - available on Windows and Unix platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-pyOpenSSL-Distribution-0.8.0-0.9.8i-1-GA.html ________________________________________________________________________ INTRODUCTION The eGenix.com pyOpenSSL Distribution includes everything you need to get started with SSL in Python. It comes with an easy to use installer that includes the most recent OpenSSL library versions in pre-compiled form. pyOpenSSL is an open-source Python add-on (http://pyopenssl.sf.net/) that allows writing SSL aware networking applications as well as certificate management tools. OpenSSL is an open-source implementation of the SSL protocol (http://www.openssl.org/). For more information, please see the product page: http://www.egenix.com/products/python/pyOpenSSL/ ________________________________________________________________________ NEWS This third release of the eGenix.com pyOpenSSL Distribution upgrades pyOpenSSL to version 0.8, which includes a few bug fixes related to threading. Please note that OpenSSL, the underlying SSL engine, does not allow sharing connections between threads. This is a little known fact which could in the past cause pyOpenSSL to crash Python. Jean-Paul Calderone, the maintainer of pyOpenSSL, has added fixes in 0.8 to prevent those crashes. We have also fixed several compiler warnings found in the code. The version of pyOpenSSL you find in the source release has those patches applied. Binaries are available for Linux x86 and x64 as well as Windows x86 and include pyOpenSSL 0.8.0 as well as the OpenSSL 0.9.8i libraries. ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing the package can be found at: http://www.egenix.com/products/python/pyOpenSSL/ ________________________________________________________________________ UPGRADING Before installing this version of pyOpenSSL, please make sure that you uninstall any previously installed pyOpenSSL version. Otherwise, you could end up not using the included OpenSSL libs. _______________________________________________________________________ SUPPORT Commercial support for these packages is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 19 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From koniosis at GMAIL.COM Wed Dec 24 14:39:20 2008 From: koniosis at GMAIL.COM (C. Collis) Date: Wed, 24 Dec 2008 14:39:20 +0100 Subject: [PYTHON-CRYPTO] Python 3.0 support Message-ID: Hey! I've attempted to get M2Crypto to build with SWIG for Python 3.0. You need the latest SVN trunk of SWIG (I had to edit swig\Lib\python\pyinit.swg SWIG_init function to ensure that the SWIG_module variable is declared before the call to SWIG_Python_FixMethods otherwise MSVC compiler errors). Anyway, I've made a stab at getting it to work (see attached patch) and it successfully builds under Windows but when I try and import M2Crypto python claims the __m2crypto module doesn't exist. I can build the M2Crypto library for Python 2.6 and it works great. Note that the attached patch also contains my other changes to do with RSA PSS padding (just ignore them) I haven't started to look at what changes need to go into the .py files to work with Python 3.0, for now I'd just be happy to get the module to import into Python, updating from that point on is the easy part. Hopefully this patch will help someone who has better knowledge of SWIG and writing Python extension modules get it importing correctly. It seems the author of M2Crypto has vanished as there haven't been any updates, replies, commits etc for a while, I hope not! Help welcome! Thanks, Chris From koniosis at GMAIL.COM Wed Dec 24 14:42:27 2008 From: koniosis at GMAIL.COM (C. Collis) Date: Wed, 24 Dec 2008 14:42:27 +0100 Subject: [PYTHON-CRYPTO] Python 3.0 support Message-ID: Hmm, attaching the patch didn't work (Google Chrome). Trying again with IE. Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: python30.patch Type: application/octet-stream Size: 34258 bytes Desc: not available URL: From miserlou at GMAIL.COM Tue Dec 30 22:51:29 2008 From: miserlou at GMAIL.COM (Rich Jones) Date: Tue, 30 Dec 2008 22:51:29 +0100 Subject: [PYTHON-CRYPTO] Proper SSLConnection Creation/Shutdown Procedure in M2Crypto In-Reply-To: References: Message-ID: Hello! I'm having some stability issues when using multiple SSLConnections. I don't think that I'm using the object entirely correctly, particularly during shut down. I've been learning this stuff from the demo files included and there are some scenarios which they don't cover. What I'm really after is an _explanation_ of the proper creation, transfer and most importantly closing procedure for SSLConnection objects. I'll whip it up into a proper Howto guide once I've got everything sussed. ((In particular, I'd like to know the specifics of when to use close/clear/shutdown and how much data to recv(), but I'd very much appreciate a complete start-to-finish overview, if anybody is up to it.)) Thanks ever so much! Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From miserlou at GMAIL.COM Tue Dec 30 22:55:46 2008 From: miserlou at GMAIL.COM (Rich Jones) Date: Tue, 30 Dec 2008 22:55:46 +0100 Subject: [PYTHON-CRYPTO] SSLConnection Creation/Shutdown Procedure in M2Crypto Message-ID: Hello! I'm having some stability issues when using multiple SSLConnections. I don't think that I'm using the object entirely correctly, particularly during shut down. I've been learning this stuff from the demo files included and there are some scenarios which they don't cover. What I'm really after is an _explanation_ of the proper creation, transfer and most importantly closing procedure for SSLConnection objects. I'll whip it up into a proper Howto guide once I've got everything sussed. ((In particular, I'd like to know the specifics of when to use close/clear/shutdown and how much data to recv(), but I'd very much appreciate a complete start-to-finish overview, if anybody is up to it.)) Thanks ever so much! Rich