5 Commits

Author SHA256 Message Date
274867c2e1 Accepting request 1294069 from devel:languages:python
- update to 2.0.0:
  * See also the migration guide: doc/Migration_1-2.adoc.
  * Python 3.10 or later is now required.
  * WebAuthn dataclasses have been updated to align with the
    WebAuthn Level 3 Working Draft. Constructors now require
    keyword arguments (kwargs_only=True), and serialization to/from
    dictionaries is compatible with standardized JSON formats.
  * The features.webauthn_json_mapping flag has been removed, as
    its behavior (standardized JSON mapping) is now default.
  * Fido2Client and WindowsClient constructors now accept a
    ClientDataCollector instance instead of origin and verify
    parameters.
  * WindowsClient has been relocated to fido2.client.windows.
    Importing this class on non-Windows platforms will now raise an
    ImportError.
  * Fido2Client methods now return RegistrationResponse and
    AuthenticationResponse objects, instead of raw
    attestation/assertion data.
  * CTAP2/WebAuthn extension handling has been redesigned.
    Fido2Client now expects a list of Ctap2Extension instances.
    Default behavior includes extensions commonly supported by
    browsers.
  * The fido2.cbor module's load_x and dump_x functions have been
    made private (renamed with a leading underscore) and should not
    be used directly.
  * Previously deprecated functions and APIs have been removed.
  * The __version__ attribute in fido2/__init__.py has been
    removed. Use importlib.metadata.version('fido2') to get the
    package version.
  * Add support for Persistent PinUvAuthToken and encIdentifier.
  * Add support for hmac-secret-mc and thirdPartyPayments
    exensions.
  * Add new GetInfo fields based on CTAP 2.2
  * Update COSE algorithnm types.
  * Building the library now requires Poetry version 2.0 or later.

OBS-URL: https://build.opensuse.org/request/show/1294069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=20
2025-07-17 15:19:25 +00:00
3a174a8bc8 fix requirements' pins
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=41
2025-07-17 09:24:07 +00:00
9e4818fc0b Accepting request 1293670 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.0.0

OBS-URL: https://build.opensuse.org/request/show/1293670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=40
2025-07-17 09:21:16 +00:00
f073635cde Accepting request 1236812 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=19
2025-01-12 10:20:45 +00:00
31752d5451 Accepting request 1236219 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.2.0

OBS-URL: https://build.opensuse.org/request/show/1236219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=38
2025-01-10 09:37:52 +00:00
6 changed files with 74 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26100f226d12ced621ca6198528ce17edf67b78df4287aee1285fee3cd5aa9fc
size 252813

View File

@@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEIO4yW4aoG8vT5WeY8ENnCW+6legFAmXxZHgACgkQ8ENnCW+6
lej2wAf9Ha5pDCOPduSgI1rMUNtyAoKa/Fpol3zOMR4zm3FLQKKLvI0L8kglmQVb
MyKFMGr8goBOEyrZSV8BjE2hGYFMzVFbqaqIFgJXh3UlWuUuZnGRG6EY3agLLE7C
Ew3QXaGWO14r5a5Hlxw1hLHjASUrhZ21nsTUMZk1T8fVd8rcsldt3rMce2n1yGZJ
lXIKUvKGguutjPYDUTSchtp57BA127PztZkc8yatUr1tOJkualjsHBb5WcYL5+O+
dPjG+oOrxMqZjOaQ3VMWDUjO7G7gBMCQ5WtDEKjV/GHdY2MgYuIsp/bNcF5+q5RZ
P7R/n5UXtNXHhO06HVO+LKxzrG1M+w==
=S7aA
-----END PGP SIGNATURE-----

3
fido2-2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3061cd05e73b3a0ef6afc3b803d57c826aa2d6a9732d16abd7277361f58e7964
size 274942

BIN
fido2-2.0.0.tar.gz.sig Normal file

Binary file not shown.

View File

@@ -1,3 +1,68 @@
-------------------------------------------------------------------
Wed Jul 16 10:07:05 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 2.0.0:
* See also the migration guide: doc/Migration_1-2.adoc.
* Python 3.10 or later is now required.
* WebAuthn dataclasses have been updated to align with the
WebAuthn Level 3 Working Draft. Constructors now require
keyword arguments (kwargs_only=True), and serialization to/from
dictionaries is compatible with standardized JSON formats.
* The features.webauthn_json_mapping flag has been removed, as
its behavior (standardized JSON mapping) is now default.
* Fido2Client and WindowsClient constructors now accept a
ClientDataCollector instance instead of origin and verify
parameters.
* WindowsClient has been relocated to fido2.client.windows.
Importing this class on non-Windows platforms will now raise an
ImportError.
* Fido2Client methods now return RegistrationResponse and
AuthenticationResponse objects, instead of raw
attestation/assertion data.
* CTAP2/WebAuthn extension handling has been redesigned.
Fido2Client now expects a list of Ctap2Extension instances.
Default behavior includes extensions commonly supported by
browsers.
* The fido2.cbor module's load_x and dump_x functions have been
made private (renamed with a leading underscore) and should not
be used directly.
* Previously deprecated functions and APIs have been removed.
* The __version__ attribute in fido2/__init__.py has been
removed. Use importlib.metadata.version('fido2') to get the
package version.
* Add support for Persistent PinUvAuthToken and encIdentifier.
* Add support for hmac-secret-mc and thirdPartyPayments
exensions.
* Add new GetInfo fields based on CTAP 2.2
* Update COSE algorithnm types.
* Building the library now requires Poetry version 2.0 or later.
-------------------------------------------------------------------
Thu Jan 9 13:29:42 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 1.2.0:
- Improved extension handling:
- Several new extensions are now supported, both for Fido2Client
and WindowsClient.
- Extension APIs have been redesigned, and old APIs have been
deprecated, slated for
- removal in version 2.0.
- Disable hmac-secret extension by default, preferring prf.
- Improved (de-)serialization of dataclasses to/from
JSON-friendly dicts.
- Fido2Client:
- Support allowCredentials/excludeCredentials of arbitrary
length.
- Handle PUAT_REQUIRED by re-attempting with PIN/UV.
- Allow localhost (and subdomains) to use http:// in RP ID
verification by default.
- NFC: Support for Authenticators that return SW=61XX on SELECT.
- USB: Improve connection recovery and use more specific
exceptions for errors.
- Fix: Handle residentKey=preferred properly.
- Fix: Handle Authentictors that do not pass extensions in
GetInfo.
-------------------------------------------------------------------
Tue May 7 16:26:39 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fido2
#
# 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,20 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-fido2
Version: 1.1.3
Version: 2.0.0
Release: 0
Summary: Python-based FIDO 2.0 library
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/Yubico/python-fido2
Source0: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
Source1: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.asc
Source1: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.sig
Source2: %{name}.keyring
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module cryptography >= 2.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0}
BuildRequires: %{python_module poetry-core >= 2.0}
BuildRequires: %{python_module pyfakefs >= 3.4}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros