4 Commits

Author SHA256 Message Date
2962d53437 Accepting request 1287768 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1287768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ecdsa?expand=0&rev=19
2025-06-23 13:04:58 +00:00
e3f2754349 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ecdsa?expand=0&rev=39
2025-06-23 01:32:48 +00:00
e216148e7e Accepting request 1266860 from devel:languages:python
- Update to 0.19.1
  * ``der.remove_implitic`` and ``der.encode_implicit`` for decoding and
    encoding DER IMPLICIT values with custom tag values and arbitrary
    classes
  * Minor fixes around arithmetic with curves that have non-prime order
    (useful for experimentation, not practical deployments)
  * Fix arithmetic to work with curves that have (0, 0) on the curve
  * Fix canonicalization of signatures when ``s`` is just slightly
    above half of curve order
  * Dropped official support for Python 3.5 (again, issues with CI, support
    for Python 2.6 and Python 2.7 is unchanged)
  * Officialy support Python 3.12 and 3.13 (add them to CI)
  * Removal of few more unnecessary `six.b` literals (Alexandre Detiste)
  * Fix typos in warning messages (forwarded request 1266769 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1266860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ecdsa?expand=0&rev=18
2025-04-03 14:51:03 +00:00
db711d22af Accepting request 1266769 from home:glaubitz:branches:devel:languages:python
- Update to 0.19.1
  * ``der.remove_implitic`` and ``der.encode_implicit`` for decoding and
    encoding DER IMPLICIT values with custom tag values and arbitrary
    classes
  * Minor fixes around arithmetic with curves that have non-prime order
    (useful for experimentation, not practical deployments)
  * Fix arithmetic to work with curves that have (0, 0) on the curve
  * Fix canonicalization of signatures when ``s`` is just slightly
    above half of curve order
  * Dropped official support for Python 3.5 (again, issues with CI, support
    for Python 2.6 and Python 2.7 is unchanged)
  * Officialy support Python 3.12 and 3.13 (add them to CI)
  * Removal of few more unnecessary `six.b` literals (Alexandre Detiste)
  * Fix typos in warning messages

OBS-URL: https://build.opensuse.org/request/show/1266769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ecdsa?expand=0&rev=37
2025-04-03 11:23:46 +00:00
4 changed files with 33 additions and 8 deletions

Binary file not shown.

BIN
ecdsa-0.19.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Jun 23 01:30:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Apr 3 06:28:02 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.19.1
* ``der.remove_implitic`` and ``der.encode_implicit`` for decoding and
encoding DER IMPLICIT values with custom tag values and arbitrary
classes
* Minor fixes around arithmetic with curves that have non-prime order
(useful for experimentation, not practical deployments)
* Fix arithmetic to work with curves that have (0, 0) on the curve
* Fix canonicalization of signatures when ``s`` is just slightly
above half of curve order
* Dropped official support for Python 3.5 (again, issues with CI, support
for Python 2.6 and Python 2.7 is unchanged)
* Officialy support Python 3.12 and 3.13 (add them to CI)
* Removal of few more unnecessary `six.b` literals (Alexandre Detiste)
* Fix typos in warning messages
-------------------------------------------------------------------
Fri Apr 12 17:02:34 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ecdsa
#
# 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,16 +18,18 @@
%{?sle15_python_module_pythons}
Name: python-ecdsa
Version: 0.19.0
Version: 0.19.1
Release: 0
Summary: ECDSA cryptographic signature library (pure python)
License: MIT
URL: https://github.com/tlsfuzzer/python-ecdsa
Source: https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-%{version}.tar.gz
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: python-rpm-macros
@@ -49,12 +51,12 @@ into other protocols.
%setup -q -n ecdsa-%{version}
%build
%python_build
%pyproject_wheel
#remove shebang from all non executable files
find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#! %{_bindir}/env python@d}' {} \;
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -69,6 +71,6 @@ donttest="$donttest or (test_ellipticcurve and test_p192_mult_tests)"
%license LICENSE
%doc NEWS README.md
%{python_sitelib}/ecdsa
%{python_sitelib}/ecdsa-%{version}*-info
%{python_sitelib}/ecdsa-%{version}.dist-info
%changelog