Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!news1.as3257.net!newsfeed1.eu.ignite.net!news.cesnet.cz!news.felk.cvut.cz!not-for-mail From: Matej Cepl Newsgroups: comp.lang.python Subject: pyOpenSSL -> m2crypto conversion? Date: Mon, 24 Sep 2012 01:19:07 +0200 Organization: Czech Technical University Lines: 25 Message-ID: <505F98EB.90508@redhat.com> NNTP-Posting-Host: 184.109.broadband10.iol.cz Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ns.felk.cvut.cz 1348442167 48739 90.177.109.184 (23 Sep 2012 23:16:07 GMT) X-Complaints-To: usenet@news.felk.cvut.cz NNTP-Posting-Date: Sun, 23 Sep 2012 23:16:07 +0000 (UTC) Cc: python-crypto@python.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0a2 Xref: csiph.com comp.lang.python:29875 Hi, gajim (http://gajim.org, Jabber/XMPP instatnt messenger written in PyGtk) uses for crypto mix of some functions from the standard library, pyOpenSSL for SSL communication, and python-crypto for E2E (encryption of the messages ... uses RSA and AES; see https://trac.gajim.org/ticket/5294 for more details). Now I would like to unify external crypto libraries just to m2crypto (a) I think using two crypto libraries is suspicious, b) I would like to eliminate use python-crypto to minimize general number of crypto libraries), for which I would like to first of all port pyOpenSSL-using code to m2crypto. Is there some HOWTO/blogpost/examples of doing so, or is there some help in m2crypto for that? Both libraries are bindings over OpenSSL, so I hope it wouldn't be that difficult. https://bugs.launchpad.net/pyopenssl/+bug/236170/comments/22 seems to suggest that there might be some pyOpenSSL compatibility wrapper for m2crypto ... do I understand it correctly? Any suggestoins, help is highly welcomed. Thank you in advance, Matěj Cepl