From e4e65b53ddb6028af6934b32a163c6dadcfa6193 Mon Sep 17 00:00:00 2001 From: shixuantong <1726671442@qq.com> Date: Wed, 29 Jun 2022 11:37:24 +0800 Subject: [PATCH] fix patch error --- backport-CVE-2022-29217.patch | 2 +- python-jwt.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/backport-CVE-2022-29217.patch b/backport-CVE-2022-29217.patch index 406264f..9c717df 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 bda1b58..bf2e728 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 -- Gitee