Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream)
- Legacy-Id: 17911
This commit is contained in:
parent
b27d5198bd
commit
4de5722905
12
patch/fix-jwkest-jwt-logging.patch
Normal file
12
patch/fix-jwkest-jwt-logging.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- jwkest/jwt.py.orig 2020-06-06 17:58:07.609708595 +0200
|
||||
+++ jwkest/jwt.py 2020-06-06 17:58:20.734088027 +0200
|
||||
@@ -82,7 +82,7 @@
|
||||
else:
|
||||
headers = {'alg': 'none'}
|
||||
|
||||
- logging.debug('JWT header: {}'.format(headers))
|
||||
+ logger.debug('JWT header: {}'.format(headers))
|
||||
|
||||
if not parts:
|
||||
return ".".join([a.decode() for a in self.b64part])
|
||||
|
Loading…
Reference in a new issue