[python-crypto] [ANN] M2Crypto 0.37.0

Matěj Cepl mcepl at cepl.eu
Tue Dec 8 11:42:30 EST 2020


M2Crypto is the most complete Python wrapper for OpenSSL 
featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric 
ciphers; SSL functionality to implement clients and servers; 
HTTPS extensions to Python’s httplib, urllib, and xmlrpclib; 
unforgeable HMAC’ing AuthCookies for web session management; 
FTP/TLS client and server; S/MIME. M2Crypto can also be used to 
provide SSL for Twisted. Smartcards supported through the Engine 
interface.

This is another bugfix mostly and providing compatibility with 
constantly shifting universe of Python interpreters and 
constantly dying older operating systems. The oldest versions of 
OpenSSL, swing, and Python are those which are in RHEL/CentOS7 
(see INSTALL.rst for details).

Brief overview of the changelog:

- Remove support for CentOS 6 and Python 2.6 (remove 
  tests.vendor module). Python 2.7 is still fully supported.
- Remodel CI:
  - on GitHub switched from Travis-CI to GH Actions
  - on GitLab-CI: stop testing 2.7 on Fedora, add centos7
  - update appveyor.yml
- Stop playing with swig in setup.py, we don't support swig 1.* 
  anymore.
- Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
- Replace deprecated PyObject_AsReadBuffer with our own shim 
  (thanks to Casey Deccio for saving my bacon there).
- Use parametrized to create parametrized tests (new external 
  dependency).
- Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
- Expose all the X509_V_FLAG
- Add support for DigestSign* and DigestVerify*

Now is the time to test, help with review, and complain about
whatever is wrong!

Happy security hacking!

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Somewhere at the edge of the Bell curve was the girl for me.
    -- Based on http://xkcd.com/314/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://mail.python.org/pipermail/python-crypto/attachments/20201208/82f05d8d/attachment.sig>


More information about the python-crypto mailing list