public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fido2] epel10.2: Add patch
@ 2026-08-21 13:51 Orion Poplawski
0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-08-21 13:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-fido2
Branch : epel10.2
Commit : 127e53f577d6285f1296b8f98c5ddbdd037e942a
Author : Orion Poplawski <orion@nwra.com>
Date : 2024-10-17T21:49:40-06:00
Stats : +28/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-fido2/c/127e53f577d6285f1296b8f98c5ddbdd037e942a?branch=epel10.2
Log:
Add patch
---
diff --git a/235.patch b/235.patch
new file mode 100644
index 0000000..e1922ce
--- /dev/null
+++ b/235.patch
@@ -0,0 +1,28 @@
+From 967b70bdece72dd429f1af7604ad3fb7ec8c4a28 Mon Sep 17 00:00:00 2001
+From: Orion Poplawski <orion@nwra.com>
+Date: Thu, 17 Oct 2024 21:36:28 -0600
+Subject: [PATCH] "is" comparison fails with _Reasons.UNSUPPORTED_HASH, use
+ "=="; Drop extra call to attestation.verify()
+
+---
+ tests/test_attestation.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/tests/test_attestation.py b/tests/test_attestation.py
+index 92ac418..e3afdd7 100644
+--- a/tests/test_attestation.py
++++ b/tests/test_attestation.py
+@@ -226,12 +226,11 @@ def test_tpm_windows_hello_attestation(self):
+ try:
+ res = attestation.verify(statement, auth_data, client_param)
+ except UnsupportedAlgorithm as e:
+- if e._reason is _Reasons.UNSUPPORTED_HASH:
++ if e._reason == _Reasons.UNSUPPORTED_HASH:
+ self.skipTest(
+ "SHA1 signature verification not supported on this machine"
+ )
+
+- res = attestation.verify(statement, auth_data, client_param)
+ self.assertEqual(res.attestation_type, AttestationType.ATT_CA)
+ verify_x509_chain(res.trust_path)
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 13:51 [rpms/python-fido2] epel10.2: Add patch Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox