public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fido2] epel10.2: Add patch
Date: Fri, 21 Aug 2026 13:51:35 GMT	[thread overview]
Message-ID: <178732029515.1.7843722736813907736.rpms-python-fido2-127e53f577d6@fedoraproject.org> (raw)

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)
+ 

                 reply	other threads:[~2026-08-21 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178732029515.1.7843722736813907736.rpms-python-fido2-127e53f577d6@fedoraproject.org \
    --to=orion@nwra.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox