[packages/python-fido2] rediff patches; rel 2
atler
atler at pld-linux.org
Wed Mar 3 13:05:37 CET 2021
commit fd3d11a06f79e671b508ad0440bbc63065551538
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Mar 3 13:05:04 2021 +0100
rediff patches; rel 2
python-fido2-mock.patch | 6 +++---
python-fido2.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-fido2.spec b/python-fido2.spec
index 606b4db..70d807f 100644
--- a/python-fido2.spec
+++ b/python-fido2.spec
@@ -8,7 +8,7 @@ Summary: Python 2 based FIDO 2.0 library
Summary(pl.UTF-8): Biblioteka FIDO 2.0 dla Pythona 2
Name: python-fido2
Version: 0.8.1
-Release: 1
+Release: 2
# Yubico code is BSD licensed; includes also:
# pyudf (Apache 2.0)
# public suffix list (MPL 2.0)
diff --git a/python-fido2-mock.patch b/python-fido2-mock.patch
index 98eef31..330d7ed 100644
--- a/python-fido2-mock.patch
+++ b/python-fido2-mock.patch
@@ -16,7 +16,7 @@
--- fido2-0.3.0/test/test_ctap1.py.orig 2018-04-05 14:24:00.000000000 +0200
+++ fido2-0.3.0/test/test_ctap1.py 2018-05-20 21:12:03.176881487 +0200
@@ -31,7 +31,10 @@ from fido2.ctap1 import CTAP1, ApduError
- from fido2.client import ClientData
+ from fido2.ctap1 import CTAP1, ApduError
from binascii import a2b_hex
import unittest
-import mock
@@ -39,8 +39,8 @@
+except:
+ from unittest import mock
- _AAGUID = a2b_hex('F8A011F38C0A4D15800617111F9EDC7D')
- _INFO = a2b_hex('a60182665532465f5632684649444f5f325f3002826375766d6b686d61632d7365637265740350f8a011f38c0a4d15800617111f9edc7d04a462726bf5627570f564706c6174f469636c69656e7450696ef4051904b0068101') # noqa
+ _AAGUID = a2b_hex("F8A011F38C0A4D15800617111F9EDC7D")
+ _INFO = a2b_hex(
--- fido2-0.3.0/test/test_hid.py.orig 2018-04-05 14:24:00.000000000 +0200
+++ fido2-0.3.0/test/test_hid.py 2018-05-20 21:12:31.910214473 +0200
@@ -30,7 +30,10 @@ from __future__ import absolute_import,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-fido2.git/commitdiff/fd3d11a06f79e671b508ad0440bbc63065551538
More information about the pld-cvs-commit
mailing list