summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2015-01-24 23:14:59 -0600
committerMark Adams <mark@markadams.me>2015-01-24 23:14:59 -0600
commiteb4bb5346b60d4970687c8db3935f24510b3fa46 (patch)
tree4e08951451eb148319e4829c30c6a065ab87bdb6 /jwt/algorithms.py
parenta0c5b62ecc92b31e10f76745e36f18aa3a204fe8 (diff)
downloadpyjwt-eb4bb5346b60d4970687c8db3935f24510b3fa46.tar.gz
Changed header's alg parameter to be case sensitive per the JWT spec.
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 00073bf..d347dcc 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -75,7 +75,7 @@ class NoneAlgorithm(Algorithm):
return b''
def verify(self, msg, key, sig):
- return True
+ return False
class HMACAlgorithm(Algorithm):