-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
Labels
Description
I get this error when using algorithms='RS256' on google app engine.
Full stack trace
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/request_handler.py", line 226, in handle_interactive_request
exec(compiled_code, self._command_globals)
File "<string>", line 12, in <module>
File "lib/jose/jwt.py", line 121, in decode
payload = jws.verify(token, key, algorithms, verify=verify_signature)
File "lib/jose/jws.py", line 75, in verify
_verify_signature(signing_input, header, signature, key, algorithms)
File "lib/jose/jws.py", line 218, in _verify_signature
key = jwk.construct(key, alg)
File "lib/jose/jwk.py", line 65, in construct
return RSAKey(key_data, algorithm)
File "lib/jose/jwk.py", line 201, in __init__
raise JWKError(e)
JWKError: RSA key format is not supported
Reactions are currently unavailable