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 1f0ae0a commit 45bd124Copy full SHA for 45bd124
jose/jwk.py
@@ -71,9 +71,9 @@ def construct(key_data, algorithm=None):
71
algorithm = key_data.get("alg", None)
72
73
if not algorithm:
74
- raise JWKError("Unable to find an algorithm for key: %s" % key_data)
+ raise JWKError("Unable to find an algorithm for key")
75
76
key_class = get_key(algorithm)
77
if not key_class:
78
79
return key_class(key_data, algorithm)
0 commit comments