diff --git a/backport-CVE-2022-29217.patch b/backport-CVE-2022-29217.patch index 406264fcbbdac6138a28568987188bac21c596f5..9c717df67ba7fee5334754342976999a36b444e0 100644 --- a/backport-CVE-2022-29217.patch +++ b/backport-CVE-2022-29217.patch @@ -91,7 +91,7 @@ index b33c7a2..04b4e19 100644 +) + + -+def is_pem_format(bytes): ++def is_pem_format(key): + return bool(_PEM_RE.search(key)) + + diff --git a/python-jwt.spec b/python-jwt.spec index bda1b585e246a025c3647ac30caf4c2e602465b9..bf2e7285c962857e38370968e6db3f519907b95b 100644 --- a/python-jwt.spec +++ b/python-jwt.spec @@ -2,7 +2,7 @@ %bcond_with tests Name: python-jwt Version: 1.7.1 -Release: 3 +Release: 4 Summary: JSON Web Token implementation in Python License: MIT URL: https://github.com/jpadilla/pyjwt @@ -71,6 +71,12 @@ Requires: python%{python3_pkgversion}-cryptography %doc README.rst %changelog +* Wed Jun 29 2022 shixuantong - 1.7.1-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: fix patch error + * Tue Jun 14 2022 shixuantong - 1.7.1-3 - Type:CVE - ID:CVE-2022-29217