13 Commits

Author SHA256 Message Date
b2ef9ed9b2 Wed Apr 23 15:10:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
Update to 0.45.1:
  - ci: switch from using sha1 to sha256.
  - ci(keys): regenerate rsa*.pem keys as well
  - fix: make the package compatible with OpenSSL >= 3.4 (don’t
    rely on LEGACY crypto-policies)
  - chore: package also system_shadowing directory to make builds more reliable
2025-04-23 17:12:33 +02:00
84719d1595 Test 0.45.1 2025-04-23 00:05:12 +02:00
d27aea094b Update to 0.45.0:
- chore: preparing 0.45.0 release
  - fix(lib,ssl): rewrite ssl_accept, ssl_{read,write}_nbio for better error handling
  - fix: replace m2_PyBuffer_Release with native PyBuffer_Release
  - chore: build Windows builds with Python 3.13 as well
  - fix: remove support for Engine
  - chore: use actual license of the project
  - ci(Debian): make M2Crypto buildable on Debian (bsc#1240965)
  - swig: Workaround for reading sys/select.h ending with wrong types.
  - ci: bump required setuptools version because of change in naming strategy
  - fix: add fix for build with older GCC
  - fix: remove AnyStr and Any types
2025-04-17 06:17:22 +02:00
d2c9633f21 Allow for ambiguity in first letter of directories in
%{python_sitearch}.
2025-04-02 13:13:47 +02:00
9ba497d0bf Change macro to %{?sle15allpythons} so we build both Python 3.6
and Python 3.11 on SLE-15.
2025-02-19 15:11:42 +01:00
6ba6f16f8d Merge pull request 'update_to_0.44.0' (#2) from mcepl/python-M2Crypto:update_to_0.44.0 into factory 2025-02-19 15:08:04 +01:00
1e9ea663b8 Add rpmlintrc … overflow of ignorable rpmlint warnings caused
All checks were successful
obs/scm/build
me not to see the previous problem.
2025-02-18 09:00:54 +01:00
de8b891696 Fix spelling of BSD-2-Clause license.
All checks were successful
obs/scm/build
2025-02-18 08:24:56 +01:00
80528487c6 Update to 0.44.0:
All checks were successful
obs/scm/build
- fix(rsa): introduce internal cache for rsa.check_key()
    - 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.
2025-02-17 18:57:07 +01:00
56b84f212b The real license is BSD 2-Clause, not MIT. 2025-02-17 18:57:07 +01:00
107cc599a1 Merge pull request 'factory' (#1) from mcepl/python-M2Crypto:factory into factory 2024-11-01 21:00:41 +01:00
06d9f4cf69 Update to 0.43.0:
All checks were successful
obs/scm/build
- feat[m2]: add m2.time_t_bits to checking for 32bitness.
  - fix[tests]: Use only X509_VERSION_1 (0) as version for CSR.
  - fix[EC]: raise ValueError when load_key_bio() cannot read the
    file.
  - ci: use -mpip wheel instead of -mbuild
  - fix: use PyMem_Malloc() instead of malloc()
  - fix[hints]: more work on conversion of type hints to the py3k ones
  - fix: make the package build even on Python 3.6
  - ci[local]: skip freezing local tests
  - fix[hints]: remove AnyStr type
  - test: add suggested test for RSA.{get,set}_ex_data
  - fix: implement interfaces for RSA_{get,set}_ex_new_{data,index}
  - fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of
    swig
  - fix: replace literal enumeration of all VERIFY_ constants by a
    cycle
  - test: unify various test cases in test_ssl related to ftpslib
  - fix: replace deprecated url keyword in setup.cfg with complete
    project_urls map
2024-10-30 19:53:56 +01:00
53dc80c32a new tarball 2024-10-30 17:09:37 +01:00
5 changed files with 104 additions and 9 deletions

BIN
m2crypto-0.42.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
m2crypto-0.45.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,96 @@
-------------------------------------------------------------------
Wed Apr 23 15:10:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.45.1:
- ci: switch from using sha1 to sha256.
- ci(keys): regenerate rsa*.pem keys as well
- fix: make the package compatible with OpenSSL >= 3.4 (dont
rely on LEGACY crypto-policies)
- chore: package also system_shadowing directory to make builds more reliable
-------------------------------------------------------------------
Thu Apr 17 04:09:44 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.45.0:
- chore: preparing 0.45.0 release
- fix(lib,ssl): rewrite ssl_accept, ssl_{read,write}_nbio for better error handling
- fix: replace m2_PyBuffer_Release with native PyBuffer_Release
- chore: build Windows builds with Python 3.13 as well
- fix: remove support for Engine
- chore: use actual license of the project
- ci(Debian): make M2Crypto buildable on Debian (bsc#1240965)
- swig: Workaround for reading sys/select.h ending with wrong types.
- ci: bump required setuptools version because of change in naming strategy
- fix: add fix for build with older GCC
- fix: remove AnyStr and Any types
-------------------------------------------------------------------
Wed Apr 2 10:11:31 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Allow for ambiguity in first letter of directories in
%{python_sitearch}.
-------------------------------------------------------------------
Wed Feb 19 10:52:49 UTC 2025 - Matej Cepl <mcepl@suse.com>
- Change macro to %{?sle15allpythons} so we build both Python 3.6
and Python 3.11 on SLE-15.
-------------------------------------------------------------------
Tue Feb 18 07:24:17 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Fix spelling of BSD-2-Clause license.
- Add rpmlintrc … overflow of ignorable rpmlint warnings caused
me not to see the previous problem.
-------------------------------------------------------------------
Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.44.0:
- 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.
-------------------------------------------------------------------
Wed Feb 12 11:01:06 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- The real license is BSD 2-Clause, not MIT.
-------------------------------------------------------------------
Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.43.0:
- feat[m2]: add m2.time_t_bits to checking for 32bitness.
- fix[tests]: Use only X509_VERSION_1 (0) as version for CSR.
- fix[EC]: raise ValueError when load_key_bio() cannot read the
file (bsc#1231589).
- ci: use -mpip wheel instead of -mbuild
- fix: use PyMem_Malloc() instead of malloc()
- fix[hints]: more work on conversion of type hints to the py3k ones
- fix: make the package build even on Python 3.6
- ci[local]: skip freezing local tests
- fix[hints]: remove AnyStr type
- test: add suggested test for RSA.{get,set}_ex_data
- fix: implement interfaces for RSA_{get,set}_ex_new_{data,index}
- fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of
swig
- fix: replace literal enumeration of all VERIFY_ constants by a
cycle
- test: unify various test cases in test_ssl related to ftpslib
- fix: replace deprecated url keyword in setup.cfg with complete
project_urls map
-------------------------------------------------------------------
Sat Aug 10 22:41:07 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -0,0 +1 @@
addFilter("python-bytecode-inconsistent-mtime")

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
%define oldpython python
%{?sle15_python_module_pythons}
%{?sle15allpythons}
Name: python-M2Crypto
Version: 0.42.0
Version: 0.45.1
Release: 0
Summary: Crypto and SSL toolkit for Python
License: MIT
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://sr.ht/~mcepl/m2crypto/
Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz
Source99: python-M2Crypto.rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -97,8 +98,8 @@ donttest="test_verify_with_static_callback"
%files %{python_files}
%doc CHANGES LICENCE README.rst
%{python_sitearch}/M2Crypto
%{python_sitearch}/M2Crypto-%{version}*-info
%{python_sitearch}/[Mm]2[Cc]rypto
%{python_sitearch}/[Mm]2[Cc]rypto-%{version}*-info
%files -n %{name}-doc
%doc doc/*.rst