Skip to content

Commit 251d8ec

Browse files
author
Roland Hedberg
committed
More logging.
1 parent b4cbcf2 commit 251d8ec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/jwkest/jws.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,11 @@ def _pick_keys(self, keys, use="", alg=""):
364364
logger.error("Unknown arlgorithm '%s'" % alg)
365365
return []
366366

367+
logger.debug("Picking key by key type={}".format(_k))
367368
_kty = [_k.lower(), _k.upper(), _k.lower().encode("utf-8"),
368369
_k.upper().encode("utf-8")]
369370
_keys = [k for k in keys if k.kty in _kty]
370-
371+
logger.debug("Keys of key type:{}".format(_keys))
371372
try:
372373
_kid = self["kid"]
373374
except KeyError:

0 commit comments

Comments
 (0)