summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2016-10-24 13:04:53 -0500
committerGitHub <noreply@github.com>2016-10-24 13:04:53 -0500
commit18160c494af1c142e7da14996fb1342b9abaca4f (patch)
tree0dd154bc06f69e3cfc1c6e718320e8cf0f38c79e /jwt/algorithms.py
parent01dae1c90358d2302f217e543e5dddd0d0403eee (diff)
parent89f9a9d2940d86868e9600a9e1a4c7bb342d326e (diff)
downloadpyjwt-18160c494af1c142e7da14996fb1342b9abaca4f.tar.gz
Merge pull request #219 from mike9005/es521_fix
Fix incorrectly named ECDSA algorithm
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r--jwt/algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index 3144f23..b3c92d7 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -50,7 +50,7 @@ def get_default_algorithms():
'RS512': RSAAlgorithm(RSAAlgorithm.SHA512),
'ES256': ECAlgorithm(ECAlgorithm.SHA256),
'ES384': ECAlgorithm(ECAlgorithm.SHA384),
- 'ES512': ECAlgorithm(ECAlgorithm.SHA512),
+ 'ES521': ECAlgorithm(ECAlgorithm.SHA512),
'PS256': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA256),
'PS384': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA384),
'PS512': RSAPSSAlgorithm(RSAPSSAlgorithm.SHA512)