Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29875 > unrolled thread

pyOpenSSL -> m2crypto conversion?

Started byMatej Cepl <mcepl@redhat.com>
First post2012-09-24 01:19 +0200
Last post2012-09-24 01:19 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  pyOpenSSL -> m2crypto conversion? Matej Cepl <mcepl@redhat.com> - 2012-09-24 01:19 +0200

#29875 — pyOpenSSL -> m2crypto conversion?

FromMatej Cepl <mcepl@redhat.com>
Date2012-09-24 01:19 +0200
SubjectpyOpenSSL -> m2crypto conversion?
Message-ID<505F98EB.90508@redhat.com>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web