Skip to content

Commit 0c53d3d

Browse files
Updated PyJWT
1 parent 8b1ab4e commit 0c53d3d

3 files changed

Lines changed: 8 additions & 35 deletions

File tree

requirements.txt

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,7 @@
1-
astroid==2.4.2
2-
autopep8==1.5.4
3-
bleach==3.1.5
4-
certifi==2020.6.20
5-
cffi==1.14.2
6-
chardet==3.0.4
7-
colorama==0.4.3
8-
cryptography==2.9.2
9-
docutils==0.16
1+
certifi==2020.12.5
2+
chardet==4.0.0
103
idna==2.10
11-
isort==5.5.2
12-
keyring==21.4.0
13-
lazy-object-proxy==1.4.3
14-
mccabe==0.6.1
15-
packaging==20.4
16-
pkginfo==1.5.0.1
17-
pycodestyle==2.6.0
18-
pycparser==2.20
19-
Pygments==2.7.0
20-
PyJWT==1.7.1
21-
pylint==2.6.0
22-
pyparsing==2.4.7
23-
readme-renderer==26.0
24-
requests==2.24.0
25-
requests-toolbelt==0.9.1
26-
rfc3986==1.4.0
27-
six==1.15.0
28-
toml==0.10.1
29-
tqdm==4.49.0
30-
twine==3.2.0
31-
urllib3==1.25.10
32-
uuid==1.30
33-
webencodings==0.5.1
34-
wrapt==1.12.1
4+
PyJWT==2.0.0
5+
requests==2.25.1
6+
urllib3==1.26.2
7+
uuid==1.30

setu/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def generate_JWT(schemeId, secret):
1010
"jti": str(uuid.uuid1()),
1111
}
1212

13-
return jwt.encode(payload, secret, algorithm="HS256").decode("utf-8")
13+
return jwt.encode(payload, secret, algorithm="HS256")
1414

1515

1616
def generate_bearer_JWT(schemeId, secret):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='setu',
8-
version='0.5.0',
8+
version='0.5.1',
99
url='https://github.com/SetuHQ/setu-python-sdk',
1010
author='Setu',
1111
author_email='dev.support@setu.co',

0 commit comments

Comments
 (0)