Compare commits
27 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6483c4c990 | |||
| 1b0edd6217 | |||
| 192bc786d1 | |||
| 3c0cae432d | |||
| 6999c5eefe | |||
| c466b11959 | |||
| cf6358ed12 | |||
| 06b82687ba | |||
|
|
7c184cf47d | ||
|
|
742a8e6970 | ||
|
|
09e1b32db2 | ||
|
|
fa370bef54 | ||
| 9239f0e76b | |||
|
|
b42edc6a43 | ||
| 90e6cdc7e2 | |||
|
|
655c23d60d | ||
|
|
5274ab63c1 | ||
| be84f87af3 | |||
|
|
f2b01693d5 | ||
|
|
779795b7c8 | ||
|
|
316fdaec20 | ||
|
|
8750b455c9 | ||
|
|
93535431b3 | ||
|
|
0579903a45 | ||
| 07abe58677 | |||
|
|
5d5097734e | ||
| 18ea3054c6 |
BIN
m2crypto-0.42.0.tar.gz
LFS
BIN
m2crypto-0.42.0.tar.gz
LFS
Binary file not shown.
3
m2crypto-0.46.2.tar.gz
Normal file
3
m2crypto-0.46.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:13c2fa89562f7b8af40cc74b55f490be5e2ab8ccfb739f11c16d3ce6221a61ba
|
||||||
|
size 501816
|
||||||
@@ -1,3 +1,124 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 12:27:31 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 0.46.2:
|
||||||
|
- fix[m2xmlrpclib]: make the module compatible with Python 3.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 09:10:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 0.46.1:
|
||||||
|
- M2Crypto closes SSL connection on closing HTTPS Connection,
|
||||||
|
and some other related issues (#203, #278)
|
||||||
|
- Modernize C API by eliminating use of deprecated
|
||||||
|
PyBytes_AsStringAndSize and related functions with Python
|
||||||
|
Buffer Protocol (#375)
|
||||||
|
- Whole project is completely covered with type hints and is
|
||||||
|
checked by mypy (also while doing that, the whole project was
|
||||||
|
blackened) (#344)
|
||||||
|
- Add logging support to C extension code sending messages to
|
||||||
|
the Python logging
|
||||||
|
- Introducing first efforts to support Engine object (#229)
|
||||||
|
- Reworked and fixed M2Crypto.m2xmlrpclib module (#163)
|
||||||
|
- Reverted removal of demo/ subdirectory
|
||||||
|
- Improve SMIME documentation (#377)
|
||||||
|
- Some other minor bugs, improvements, and removal of dead code
|
||||||
|
- Correct license to BSD-2-Clause and update references
|
||||||
|
- Specify in setup.cfg that we require Python >= 3.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sat Aug 10 22:41:07 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
|||||||
1
python-M2Crypto.rpmlintrc
Normal file
1
python-M2Crypto.rpmlintrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
addFilter("python-bytecode-inconsistent-mtime")
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-M2Crypto
|
# spec file for package python-M2Crypto
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,15 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15allpythons}
|
||||||
Name: python-M2Crypto
|
Name: python-M2Crypto
|
||||||
Version: 0.42.0
|
Version: 0.46.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Crypto and SSL toolkit for Python
|
Summary: Crypto and SSL toolkit for Python
|
||||||
License: MIT
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://sr.ht/~mcepl/m2crypto/
|
URL: https://sr.ht/~mcepl/m2crypto/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz
|
||||||
|
Source99: python-M2Crypto.rpmlintrc
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -96,9 +97,10 @@ donttest="test_verify_with_static_callback"
|
|||||||
%pytest_arch -k "not ($donttest)" tests
|
%pytest_arch -k "not ($donttest)" tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES LICENCE README.rst
|
%license LICENSES/BSD-2-Clause.txt
|
||||||
%{python_sitearch}/M2Crypto
|
%doc CHANGES README.rst
|
||||||
%{python_sitearch}/M2Crypto-%{version}*-info
|
%{python_sitearch}/[Mm]2[Cc]rypto
|
||||||
|
%{python_sitearch}/[Mm]2[Cc]rypto-%{version}*-info
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%doc doc/*.rst
|
%doc doc/*.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user