Skip to content

Commit

Permalink
Merge pull request #225 from jpadilla/ecdsa-bkwards-compat
Browse files Browse the repository at this point in the history
Add back 'ES512' for backward compatibility (for now)
  • Loading branch information
mark-adams committed Oct 24, 2016
2 parents 6112c18 + 8b2a83d commit 0d0d10c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwt/algorithms.py
Original file line number Diff line number Diff line change
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 0d0d10c

Please sign in to comment.