14
0

6 Commits

Author SHA256 Message Date
8518796200 Accepting request 1243152 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-trustme?expand=0&rev=16
2025-02-06 21:01:57 +00:00
9d9c6d965e - Update to 1.2.1
* Update from deprecated pyOpenSSL APIs to non-deprecated
    cryptography APIs. (#670)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trustme?expand=0&rev=33
2025-02-04 14:37:48 +00:00
d270246030 Accepting request 1221503 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-trustme?expand=0&rev=15
2024-11-06 15:50:03 +00:00
b60b3a6941 - Update to 1.2.0
* Add support for Python 3.13. (#664)
  * Allow setting of cert's notBefore attribute (#628)
  * Add the Authority Key Identifier extension to child
    CA certificates. (#642)
  * Remove support for Python 3.8 and PyPy 3.9. (#664)
- Drop add-aki-to-child-certs.patch, merged upstream
- Drop fix2038.patch, fixed upstream
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trustme?expand=0&rev=31
2024-11-05 15:39:59 +00:00
548f2ef935 Accepting request 1196403 from devel:languages:python
- Add patch add-aki-to-child-certs.patch
  * Also add Authority Key Identifiers to children certs.

OBS-URL: https://build.opensuse.org/request/show/1196403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-trustme?expand=0&rev=14
2024-08-29 13:42:49 +00:00
bf5e92b161 - Add patch add-aki-to-child-certs.patch
* Also add Authority Key Identifiers to children certs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trustme?expand=0&rev=29
2024-08-28 06:39:24 +00:00
5 changed files with 32 additions and 23 deletions

View File

@@ -1,17 +0,0 @@
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2023-01-14
Subject: Fix tests of python-aiosmtplib after 2038
Index: trustme-1.0.0/src/trustme/__init__.py
===================================================================
--- trustme-1.0.0.orig/src/trustme/__init__.py
+++ trustme-1.0.0/src/trustme/__init__.py
@@ -37,7 +37,7 @@ __all__ = ["CA"]
# Some versions of cryptography on 32-bit platforms fail if you give
# them dates after ~2038-01-19:
# https://github.com/pyca/cryptography/pull/4658
-DEFAULT_EXPIRY = datetime.datetime(2038, 1, 1)
+DEFAULT_EXPIRY = datetime.datetime(2098, 1, 1)
def _name(name: str, organization_name: Optional[str] = None, common_name: Optional[str] = None) -> x509.Name:
name_pieces = [

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Jan 16 11:20:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.2.1
* Update from deprecated pyOpenSSL APIs to non-deprecated
cryptography APIs. (#670)
-------------------------------------------------------------------
Tue Nov 5 15:14:17 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.2.0
* Add support for Python 3.13. (#664)
* Allow setting of cert's notBefore attribute (#628)
* Add the Authority Key Identifier extension to child
CA certificates. (#642)
* Remove support for Python 3.8 and PyPy 3.9. (#664)
- Drop add-aki-to-child-certs.patch, merged upstream
- Drop fix2038.patch, fixed upstream
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Wed Aug 28 06:38:39 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch add-aki-to-child-certs.patch
* Also add Authority Key Identifiers to children certs.
-------------------------------------------------------------------
Tue Mar 5 02:52:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-trustme
#
# 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
@@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-trustme
Version: 1.1.0
Version: 1.2.1
Release: 0
Summary: Fake CA provider for Python tests
License: Apache-2.0 OR MIT
URL: https://github.com/python-trio/trustme
Source: https://files.pythonhosted.org/packages/source/t/trustme/trustme-%{version}.tar.gz
Patch0: fix2038.patch
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module idna}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyOpenSSL}

BIN
trustme-1.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
trustme-1.2.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.