diff mbox series

[meta-python,scarthgap,8/8] python3-pyjwt: fix CVE-2026-32597 test indentation

Message ID 20261105045614.2677776-8-hthakar@cisco.com
State New
Headers show
Series [meta-python,scarthgap,1/8] python3-pyjwt: fix CVE-2026-102269 | expand

Commit Message

From: Hetvi Thakar <hthakar@cisco.com>

Correct the indentation of the unknown critical-header regression test
in the CVE-2026-32597 backport [1]. The malformed method definition
prevents pytest from collecting tests/test_api_jws.py and blocks the JWS
regression suite.

[1] https://github.com/jpadilla/pyjwt/commit/051ea341b5573fe3edcd53042f347929b92c2b92

Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
---
 .../recipes-devtools/python/python3-pyjwt/CVE-2026-32597.patch  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyjwt/CVE-2026-32597.patch b/meta-python/recipes-devtools/python/python3-pyjwt/CVE-2026-32597.patch
index c38628d0b3..20e25aa911 100644
--- a/meta-python/recipes-devtools/python/python3-pyjwt/CVE-2026-32597.patch
+++ b/meta-python/recipes-devtools/python/python3-pyjwt/CVE-2026-32597.patch
@@ -99,7 +99,7 @@  index 3385716..434874b 100644
          assert len(record) == 1
          assert "foo" in str(record[0].message)
 +
-+        def test_decode_rejects_unknown_crit_extension(
++    def test_decode_rejects_unknown_crit_extension(
 +        self, jws: PyJWS, payload: bytes
 +    ) -> None:
 +        secret = "secret"