1
0

Compare commits

..

8 Commits

Author SHA256 Message Date
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
me not to see the previous problem.
2025-02-18 09:00:54 +01:00
de8b891696
Fix spelling of BSD-2-Clause license. 2025-02-18 08:24:56 +01:00
80528487c6
Update to 0.44.0:
- 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:
- 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 65 additions and 6 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
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
@ -19,19 +19,22 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-M2Crypto
Version: 0.42.0
Version: 0.44.0
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}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module wheel}
# For debugging
BuildRequires: %{python_module readline}
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: openssl-devel