Merge pull request #50 from pabluk/update-pyjwkest-1.0.6
Fix #49 updating pyjwkest version to 1.0.6
This commit is contained in:
commit
aa51ab36ad
2 changed files with 4 additions and 4 deletions
|
@ -189,8 +189,8 @@ class JwksView(View):
|
||||||
'alg': 'RS256',
|
'alg': 'RS256',
|
||||||
'use': 'sig',
|
'use': 'sig',
|
||||||
'kid': md5(key).hexdigest(),
|
'kid': md5(key).hexdigest(),
|
||||||
'n': long_to_base64(public_key.n).decode('utf-8'),
|
'n': long_to_base64(public_key.n),
|
||||||
'e': long_to_base64(public_key.e).decode('utf-8'),
|
'e': long_to_base64(public_key.e),
|
||||||
})
|
})
|
||||||
|
|
||||||
return JsonResponse(dic)
|
return JsonResponse(dic)
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -37,11 +37,11 @@ setup(
|
||||||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
||||||
],
|
],
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'pyjwkest>=1.0.3,<1.1',
|
'pyjwkest>=1.0.6,<1.1',
|
||||||
'mock==1.3.0',
|
'mock==1.3.0',
|
||||||
],
|
],
|
||||||
|
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'pyjwkest>=1.0.3,<1.1',
|
'pyjwkest>=1.0.6,<1.1',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue