-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Fedora rawhide is working towards updating to Python 3.15. fido2 2.1.1 fails to build with:
======================================================================
FAIL: test_make_credential_ctap1 (tests.test_client.TestFido2Client.test_make_credential_ctap1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/python-fido2-2.1.1-build/python-fido2-2.1.1/tests/test_client.py", line 195, in test_make_credential_ctap1
self.assertEqual(client_data.type, "webauthn.create")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'TYPE.CREATE' != 'webauthn.create'
- TYPE.CREATE
+ webauthn.create
======================================================================
FAIL: test_make_credential_ctap2 (tests.test_client.TestFido2Client.test_make_credential_ctap2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.15/unittest/mock.py", line 1432, in patched
return func(*newargs, **newkeywargs)
File "/builddir/build/BUILD/python-fido2-2.1.1-build/python-fido2-2.1.1/tests/test_client.py", line 164, in test_make_credential_ctap2
self.assertEqual(response.client_data.type, "webauthn.create")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'TYPE.CREATE' != 'webauthn.create'
- TYPE.CREATE
+ webauthn.create
======================================================================
FAIL: test_authenticate_complete_invalid_signature (tests.test_server.TestFido2Server.test_authenticate_complete_invalid_signature)
----------------------------------------------------------------------
ValueError: Incorrect type in CollectedClientData.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/builddir/build/BUILD/python-fido2-2.1.1-build/python-fido2-2.1.1/tests/test_server.py", line 84, in test_authenticate_complete_invalid_signature
with self.assertRaisesRegex(ValueError, "Invalid signature."):
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "Invalid signature." does not match "Incorrect type in CollectedClientData."
======================================================================
FAIL: test_creation_options (tests.test_webauthn.TestWebAuthnDataTypes.test_creation_options)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/python-fido2-2.1.1-build/python-fido2-2.1.1/tests/test_webauthn.py", line 280, in test_creation_options
self.assertEqual(o, o2)
~~~~~~~~~~~~~~~~^^^^^^^
AssertionError: Publi[265 chars]type=<PublicKeyCredentialType.PUBLIC_KEY: 'pub[583 chars]None) != Publi[265 chars]type=None, alg=-7)], timeout=10000, exclude_cr[357 chars]None)
======================================================================
FAIL: test_request_options (tests.test_webauthn.TestWebAuthnDataTypes.test_request_options)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/python-fido2-2.1.1-build/python-fido2-2.1.1/tests/test_webauthn.py", line 328, in test_request_options
self.assertEqual(o, o2)
~~~~~~~~~~~~~~~~^^^^^^^
AssertionError: Publi[146 chars]type=<PublicKeyCredentialType.PUBLIC_KEY: 'pub[150 chars]None) != Publi[146 chars]type=None, id=b'credential_id', transports=Non[52 chars]None)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels