python-fido2/python-fido2.spec
Dirk Mueller cb5b659f90 Accepting request 1040193 from home:Simmphonie:branches:devel:languages:python
- drop python-fido2-no-mock.patch
- Update to version 1.1.0
  * Bugfix: Fix name of "crossOrigin" in CollectedClientData.create().
  * Bugfix: Some incorrect type hints in the MDS3 classes were fixed.
  * Stricter checking of dataclass field types.
  * Add support for JSON-serialization of WebAuthn data classes.
    This changes the objects dict representation to align with new additions in the
    WebAuthn specification. As this may break compatibility, the new behavior
    requires explicit opt-in until python-fido2 2.0 is released.
  * Update server example to use JSON serialization.
  * Server: Add support for passing RegistrationResponse/AuthenticationResponse (or
    their deserialized JSON data) to register_complete/authenticate_complete.
  * Add new "hybrid" AuthenticatorTransport.
  * Add new AuthenticatorData flags, and use 2-letter names as in the WebAuthn spec
    (long names are still available as aliases).
- version 1.0.0
  * Release Candidate 1 of first stable release.
  * Require Python 3.7 or later.
  * APIs have updated to align with WebAuthn level 2.
  * Several CTAP 2.1 features have been implemented.

OBS-URL: https://build.opensuse.org/request/show/1040193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=26
2022-12-05 17:35:59 +00:00

68 lines
2.2 KiB
RPMSpec

#
# spec file for package python-fido2
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-fido2
Version: 1.1.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
Source2: %{name}.keyring
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module cryptography >= 2.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0}
BuildRequires: %{python_module pyfakefs >= 3.4}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 2.6
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
This library supports the FIDO U2F and FIDO 2.0 protocols for communicating
with a USB authenticator via the Client-to-Authenticator Protocol (CTAP 1 and 2).
In addition to this low-level device access, classes defined in the fido2.client
implement higher level device operations.
%prep
%autosetup -p1 -n fido2-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%files %{python_files}
%doc NEWS* README*
%license COPYING*
%{python_sitelib}/*
%changelog