Description of the patch:
This update for python-M2Crypto fixes the following issues:
Security issues fixed:
- CVE-2026-109087: SSL.Checker subjectAltName hostname injection (bsc#1285047).
Non security issue fixed:
- swig 4.5.0 breaks python-M2Crypto (bsc#1275165).
Changes for python-M2Crypto:
- update to 0.51.0:
- CVE-2026-109087: SSL.Checker subjectAltName hostname
injection
(bsc#1285047, https://codefloe.com/mcepl/m2crypto/issues/409)
- Fix regex injection in TLS hostname verification (no CVE,
kindly reported by eGkritsis)
- adding the project to the Anthropic OSS Security Scanner
(https://github.com/anthropics/oss-scanner/pull/479)
- update to 0.50.0:
- switch to Codefloe
- isolate OpenSSL providers in private contexts
- disable legacy ENGINE bindings with OpenSSL 3 deprecations
- manage BIO ownership when attaching to SSL connections
- repair Windows CI pipeline and improve setup.py robustness
- record security-related behavior changes
- emit DeprecationWarning when RC4 cipher is instantiated
- disable TLSv1.0 and TLSv1.1 by default
- prevent out-of-bounds read in BN conversions
- preserve errno from gettimeofday failures
- restore timed read retries
- Update to 0.49.0:
- defer unavailable ENGINE constant lookup
- fixes problematic behaviour of pkcs11-provider
- support TLS 1.0 contexts with modern OpenSSL
- use Python 3 C APIs in handwritten SWIG code (bsc#1275165)
- feat: Add AES-GCM (AEAD) support to M2Crypto
- remove Black configuration from setup.cfg
- release X509V3 config with its context
- keep IOBuffer chains alive until destruction
- test: free low-level OpenSSL objects in leak tests
- avoid leaking X509V3 extension config
- free RSA exponent on modulus conversion failure
- free replaced EVP digest contexts
- wrap created X509 name entries with ownership
- own ASN1 values created from Python data
- own PKCS7 certificate stack copies
- release BIOs on explicit close
- Add AuthorityKeyIdentifier extension…