15
0
forked from pool/python-ecdsa

2 Commits

Author SHA256 Message Date
7bba8bf12a 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
41d3f8e98e - 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/package/show/devel:languages:python/python-ecdsa?expand=0&rev=37
2025-04-03 11:23:46 +00:00
2 changed files with 3 additions and 10 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -25,11 +25,9 @@ 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
@@ -51,12 +49,12 @@ into other protocols.
%setup -q -n ecdsa-%{version}
%build
%pyproject_wheel
%python_build
#remove shebang from all non executable files
find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#! %{_bindir}/env python@d}' {} \;
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -71,6 +69,6 @@ donttest="$donttest or (test_ellipticcurve and test_p192_mult_tests)"
%license LICENSE
%doc NEWS README.md
%{python_sitelib}/ecdsa
%{python_sitelib}/ecdsa-%{version}.dist-info
%{python_sitelib}/ecdsa-%{version}*-info
%changelog