summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2015-01-24 23:11:54 -0600
committerMark Adams <mark@markadams.me>2015-01-24 23:12:11 -0600
commita0c5b62ecc92b31e10f76745e36f18aa3a204fe8 (patch)
tree0d41b39df78e8211fc44d929f6f69fab62d66409 /jwt/algorithms.py
parentf7a6b5f66c4ac5c6b02875afb7a92d40c1790408 (diff)
downloadpyjwt-a0c5b62ecc92b31e10f76745e36f18aa3a204fe8.tar.gz
Added missing `sig` parameter to `sign()` method of the None 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 2e4a2e8..00073bf 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -74,7 +74,7 @@ class NoneAlgorithm(Algorithm):
def sign(self, msg, key):
return b''
- def verify(self, msg, key):
+ def verify(self, msg, key, sig):
return True