New version of 0.46.0 of M2Crypto has been released to PyPI. M2Crypto is a comprehensive Python wrapper for OpenSSL on POSIX, macOS, and Windows platforms. It features RSA, DSA, DH, EC, HMACs, X.509 certificates (or digests if referring specifically to X.509 message digests), symmetric ciphers, and SSL functionality to implement clients and servers. It also includes HTTPS extensions to Python’s httplib, urllib, and xmlrpclib; unforgeable HMAC AuthCookies for web session management; FTP/TLS client and server; and S/MIME.
M2Crypto can also provide SSL for Twisted. Note: Smartcard support via the Engine interface was removed in this version, and the preliminary support for OpenSSL Providers has started. This release is a significant milestone in the package's development. Multiple work-in-progress (WIP) branches were finally merged (with kind help from AI, particularly Gemini, which greatly assisted in untangling complicated issues), and long-term problems were resolved. Every effort was made to keep the API completely stable and the library's behavior toward its users unchanged. However, if any bugs slipped through, please do not hesitate to inform us via the email list: ~mcepl/[email protected]. We welcome any volunteers willing to help! We are particularly looking for developers on non-Linux platforms (especially Windows and macOS) who would be willing to at least test and improve the documentation for the installation and testing of the package. Overview of the significant changes in the package: - Fix: M2Crypto now correctly closes the SSL connection when closing an HTTPS Connection, resolving related issues (#203, #278). - Modernization: C API updated by eliminating deprecated PyBytes_AsStringAndSize and related functions, now using the Python Buffer Protocol (#375). - Type Hints/Formatting: The whole project is now completely covered with type hints and checked by mypy (and has been formatted with black) (#344). - Feature: Added logging support to the C extension code, sending messages to the Python logging system. - Breaking change: Support for the long deprecated Engine object was removed (#229). - Feature: Introduced initial efforts to support the OpenSSL providers. - Fix: Reworked and fixed the M2Crypto.m2xmlrpclib module (#163). - Documentation: Improved S/MIME documentation (#377). - Fix: Package is now compatible with OpenSSL ≥3.4 (no longer relies on LEGACY crypto-policies). - Reverted removal of demo/ subdirectory - Some other minor bugs, improvements, and removal of dead code The package has been tested on Python versions between 3.6 and 3.14.0rc3. All users are strongly encouraged to upgrade. Binary wheels for various versions of Windows are available. Blessigns, Matěj -- http://matej.ceplovi.cz/blog/, @[email protected] GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Whoever does not have the courage to make history, becomes its poor object. Let’s do it! -- Alfred Delp SJ, The Prison Writings
E09FEF25D96484AC.asc
Description: application/pgp-keys
signature.asc
Description: PGP signature
_______________________________________________ Cryptography-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/cryptography-dev.python.org Member address: [email protected]
