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:
Juan Ignacio Fiorentino 2015-10-19 11:55:07 -03:00
commit aa51ab36ad
2 changed files with 4 additions and 4 deletions

View file

@ -189,8 +189,8 @@ class JwksView(View):
'alg': 'RS256',
'use': 'sig',
'kid': md5(key).hexdigest(),
'n': long_to_base64(public_key.n).decode('utf-8'),
'e': long_to_base64(public_key.e).decode('utf-8'),
'n': long_to_base64(public_key.n),
'e': long_to_base64(public_key.e),
})
return JsonResponse(dic)

View file

@ -37,11 +37,11 @@ setup(
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
tests_require=[
'pyjwkest>=1.0.3,<1.1',
'pyjwkest>=1.0.6,<1.1',
'mock==1.3.0',
],
install_requires=[
'pyjwkest>=1.0.3,<1.1',
'pyjwkest>=1.0.6,<1.1',
],
)