We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa5db9 commit 6f34394Copy full SHA for 6f34394
src/cryptojwt/tools/jwtpeek.py
@@ -7,6 +7,8 @@
7
import os
8
import sys
9
10
+from cryptojwt.key_issuer import KeyIssuer
11
+
12
from cryptojwt.jwe import jwe
13
from cryptojwt.jwk.hmac import SYMKey
14
from cryptojwt.jwk.jwk import key_from_jwk_dict
@@ -114,9 +116,9 @@ def main():
114
116
keys.append(_key)
115
117
118
if args.jwks:
- _k = KeyJar()
- _k.import_jwks(open(args.jwks).read(), "")
119
- keys.extend(_k.issuer_keys(""))
+ _iss = KeyIssuer()
120
+ _iss.import_jwks(open(args.jwks).read())
121
+ keys.extend(_iss.all_keys())
122
123
if args.jwks_url:
124
_kb = KeyBundle(source=args.jwks_url)
0 commit comments