+ import mock
+except:
+ from unittest import mock
- from threading import Event
+ from threading import Event, Timer
from binascii import a2b_hex
from fido2.utils import sha256, websafe_decode
--- fido2-0.3.0/test/test_ctap1.py.orig 2018-04-05 14:24:00.000000000 +0200
Summary: Python 2 based FIDO 2.0 library
Summary(pl.UTF-8): Biblioteka FIDO 2.0 dla Pythona 2
Name: python-fido2
-Version: 0.7.3
-Release: 2
+Version: 0.8.1
+Release: 1
# Yubico code is BSD licensed; includes also:
# pyudf (Apache 2.0)
# public suffix list (MPL 2.0)
Group: Libraries/Python
#Source0Download: https://github.com/Yubico/python-fido2/releases
Source0: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
-# Source0-md5: 43ce94c38f2fdd7ae1e3438e6aa01f8c
+# Source0-md5: f691a99d1223ab00607d56430b27804e
Patch0: %{name}-mock.patch
URL: https://developers.yubico.com/python-fido2/
BuildRequires: rpm-pythonprov