Skip to content

Commit

Permalink
Add back 'ES512' for backward compatibility (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-adams committed Oct 24, 2016
1 parent 18160c4 commit 8b2a83d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwt/algorithms.py
Expand Up @@ -51,6 +51,7 @@ def get_default_algorithms():
'ES256': ECAlgorithm(ECAlgorithm.SHA256),
'ES384': ECAlgorithm(ECAlgorithm.SHA384),
'ES521': ECAlgorithm(ECAlgorithm.SHA512),
'ES512': ECAlgorithm(ECAlgorithm.SHA512), # Backward compat for #219 fix
'PS256': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA256),
'PS384': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA384),
'PS512': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA512)
Expand Down

0 comments on commit 8b2a83d

Please sign in to comment.