<div class="container">
<h1>Recommended update for python-M2Crypto</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2025:20338-1</td>
</tr>
<tr>
<th>Release Date:</th>
<td>May 22, 2025, 7:42 a.m.</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1205042">bsc#1205042</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1217782">bsc#1217782</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1231589">bsc#1231589</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1236664">bsc#1236664</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">SUSE Linux Micro 6.0</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that has four fixes can now be installed.</p>
<h2>Description:</h2>
<p>This update for python-M2Crypto fixes the following issues:</p>
<p>Update to 0.44.0:</p>
<pre><code>- fix(rsa): introduce internal cache for rsa.check_key()
(bsc#1236664, srht#mcepl/m2crypto#369)
- fix[authcookie]: modernize the module
- fix(_lib): add missing #include for windows
- ci: relax fedora crypto policy to legacy.
- enhance setup.py for macos compatibility
- prefer packaging.version over distutils.version
- fix segfault with openssl 3.4.0
- fix[ec]: raise ioerror instead when load_key_bio() cannot read
the file.
- doc: update installation instructions for windows.
- fix setting x509.verify_* variables
- fix building against openssl in non-standard location
- test_x509: use only x509_version_1 (0) as version for csr.
</code></pre>
<p>Update to 0.43.0:</p>
<ul>
<li>feat[m2]: add m2.time_t_bits to checking for 32bitness.</li>
<li>fix[tests]: Use only X509_VERSION_1 (0) as version for CSR.</li>
<li>fix[EC]: raise ValueError when load_key_bio() cannot read the
file (bsc#1231589).</li>
<li>ci: use -mpip wheel instead of -mbuild</li>
<li>fix: use PyMem_Malloc() instead of malloc()</li>
<li>fix[hints]: more work on conversion of type hints to the py3k ones</li>
<li>fix: make the package build even on Python 3.6</li>
<li>ci[local]: skip freezing local tests</li>
<li>fix[hints]: remove AnyStr type</li>
<li>test: add suggested test for RSA.{get,set}_ex_data</li>
<li>fix: implement interfaces for RSA_{get,set}<em data_index="data,index">ex_new</em></li>
<li>fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of
swig</li>
<li>fix: replace literal enumeration of all VERIFY_ constants by a
cycle</li>
<li>test: unify various test cases in test_ssl related to ftpslib</li>
<li>fix: replace deprecated url keyword in setup.cfg with complete
project_urls map</li>
</ul>
<p>Update 0.42.0:</p>
<ul>
<li>allow ASN1_{Integer,String} be initialized directly</li>
<li>minimal infrastructure for type hints for a C extension and
some type hints for some basic modules</li>
<li>time_t on 32bit Linux is 32bit (integer) not 64bit (long)</li>
<li>EOS for CentOS 7</li>
<li>correct checking for OpenSSL version number on Windows</li>
<li>make compatible with Python 3.13 (replace PyEval_CallObject
with PyObject_CallObject)</li>
<li>fix typo in extern function signature (and proper type of
engine_ctrl_cmd_string())</li>
<li>move the package to Sorucehut</li>
<li>setup CI to use Sourcehut CI</li>
<li>setup CI on GitLab for Windows as well (remove Appveyor)</li>
<li>initial draft of documentation for migration to
pyca/cryptography</li>
<li>fix Read the Docs configuration (contributed kindly by Facundo
Tuesca)</li>
</ul>
<p>Update to 0.40.0:</p>
<ul>
<li>BREAKING CHANGES:<ul>
<li>There are no SWIG generated files (src/SWIG/_m2crytpo_wrap.c)
included anymore, so swig must be installed, no
exceptions! Also, for compatibility with Python 3.12+, swig
4.0+ is required.</li>
<li>All support for asyncore has been removed, as it has been
removed in Python 3.12 as well (which means also removal of
contrib/dispatcher.py, M2Crypto/SSL/ssl_dispatcher.py,
ZServerSSL).</li>
<li>All use of distutils (including the bundled ones in
setuptools) has been removed, so <code>setup.py clean</code> is no
more.</li>
<li>Excessively complicated and error-prone __init__py has been
cleaned and <code>import M2Crypto</code> doesn’t include everything
anymore. Imports should specified as for example with <code>from
M2Crypto import foo</code>.</li>
</ul>
</li>
<li>ASN1_Time handling has been mostly rewritten and it almost
works even on Windows.</li>
<li>All tests in Gitlab CI (with exceptions of some skipped tests
especially on Windows) are now green, tests of Python 2.7 on
CentOS 7 have been included.</li>
<li>Introduce m2.err_clear_error()</li>
<li>Make X509_verify_cert() accessible as m2.x509_verify_cert</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
SUSE Linux Micro 6.0
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-6.0-334=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
SUSE Linux Micro 6.0 (aarch64 s390x x86_64)
<ul>
<li>python-M2Crypto-debugsource-0.44.0-1.1</li>
<li>python311-M2Crypto-debuginfo-0.44.0-1.1</li>
<li>python311-M2Crypto-0.44.0-1.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1205042">https://bugzilla.suse.com/show_bug.cgi?id=1205042</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1217782">https://bugzilla.suse.com/show_bug.cgi?id=1217782</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1231589">https://bugzilla.suse.com/show_bug.cgi?id=1231589</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1236664">https://bugzilla.suse.com/show_bug.cgi?id=1236664</a>
</li>
</ul>
</div>