diff options
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r-- | jwt/algorithms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py index 91bf350..bd3595a 100644 --- a/jwt/algorithms.py +++ b/jwt/algorithms.py @@ -27,9 +27,9 @@ def _register_default_algorithms(pyjwt_obj): pyjwt_obj.register_algorithm('HS512', HMACAlgorithm(HMACAlgorithm.SHA512)) if has_crypto: - pyjwt_obj.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256) - pyjwt_obj.register_algorithm('RS384', RSAAlgorithm(RSAAlgorithm.SHA384) - pyjwt_obj.register_algorithm('RS512', RSAAlgorithm(RSAAlgorithm.SHA512) + pyjwt_obj.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256)) + pyjwt_obj.register_algorithm('RS384', RSAAlgorithm(RSAAlgorithm.SHA384)) + pyjwt_obj.register_algorithm('RS512', RSAAlgorithm(RSAAlgorithm.SHA512)) pyjwt_obj.register_algorithm('ES256', ECAlgorithm(ECAlgorithm.SHA256)) pyjwt_obj.register_algorithm('ES384', ECAlgorithm(ECAlgorithm.SHA384)) |