Skip to content

Commit 8dbe68c

Browse files
author
Gasper Zejn
committed
Parameter is not optional.
1 parent a1cb19a commit 8dbe68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jose/backends/rsa_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _process_jwk(self, jwk_dict):
4949
if not jwk_dict.get('kty') == 'RSA':
5050
raise JWKError("Incorrect key type. Expected: 'RSA', Recieved: %s" % jwk_dict.get('kty'))
5151

52-
e = base64_to_long(jwk_dict.get('e', 256))
52+
e = base64_to_long(jwk_dict.get('e'))
5353
n = base64_to_long(jwk_dict.get('n'))
5454

5555
verifying_key = pyrsa.PublicKey(e=e, n=n)

0 commit comments

Comments
 (0)