File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ def _register_default_algorithms(pyjwt_obj):
2727 pyjwt_obj .register_algorithm ('HS512' , HMACAlgorithm (HMACAlgorithm .SHA512 ))
2828
2929 if has_crypto :
30- pyjwt_obj .register_algorithm ('RS256' , RSAAlgorithm (RSAAlgorithm .SHA256 ()) )
31- pyjwt_obj .register_algorithm ('RS384' , RSAAlgorithm (RSAAlgorithm .SHA384 ()) )
32- pyjwt_obj .register_algorithm ('RS512' , RSAAlgorithm (RSAAlgorithm .SHA512 ()) )
30+ pyjwt_obj .register_algorithm ('RS256' , RSAAlgorithm (RSAAlgorithm .SHA256 )
31+ pyjwt_obj .register_algorithm ('RS384' , RSAAlgorithm (RSAAlgorithm .SHA384 )
32+ pyjwt_obj .register_algorithm ('RS512' , RSAAlgorithm (RSAAlgorithm .SHA512 )
3333
34- pyjwt_obj .register_algorithm ('ES256' , ECAlgorithm (ECAlgorithm .SHA256 () ))
35- pyjwt_obj .register_algorithm ('ES384' , ECAlgorithm (ECAlgorithm .SHA384 () ))
36- pyjwt_obj .register_algorithm ('ES512' , ECAlgorithm (ECAlgorithm .SHA512 () ))
34+ pyjwt_obj .register_algorithm ('ES256' , ECAlgorithm (ECAlgorithm .SHA256 ))
35+ pyjwt_obj .register_algorithm ('ES384' , ECAlgorithm (ECAlgorithm .SHA384 ))
36+ pyjwt_obj .register_algorithm ('ES512' , ECAlgorithm (ECAlgorithm .SHA512 ))
3737
3838
3939class Algorithm (object ):
You can’t perform that action at this time.
0 commit comments