Demonware / jose

Python implementation of the Javascript Object Signing and Encryption (JOSE) framework (https://datatracker.ietf.org/wg/jose/charter/)
BSD 3-Clause "New" or "Revised" License
95 stars 34 forks source link

Python 3 Support #15

Open nmurtagh opened 8 years ago

nmurtagh commented 8 years ago

Addresses #13

Newky commented 8 years ago

Looks good to me

yuriikonovaliuk commented 8 years ago

Please add a note to CHANGES file.

nmurtagh commented 8 years ago

@Newky @yuriikonovaliuk Thanks for the reviews guys - I added a commit with some cleanups, please take a look. I removed encode_safe as it didn't seem to do anything useful...

hmpf commented 8 years ago

Splendid! Django is dropping support for 2.7 next year and jose was one of the hold outs.

jordanambra commented 6 years ago

Will this get its merge conflicts resolved and an update pushed to pypi?

bmamouri commented 6 years ago

Why the maintainer of this project hate Python 3 so much?

This should have already been merged into master.

PegasusWang commented 5 years ago

Plz, push to pypi?

Jamim commented 5 years ago

Hi @nmurtagh, Could you please resolve the conflicts? Thank you!

IamTugy commented 1 year ago

is that repository deprecated? it doesnt work with python 3. get this error right at the init: File "/Users/*****/*****/*****.py", line 8, in <module> from jose import jwt # type: ignore ^^^^^^^^^^^^^^^^^^^^ File "/Users/*****/Library/Caches/pypoetry/virtualenvs/*****-py3.11/lib/python3.11/site-packages/jose.py", line 546 print decrypt(deserialize_compact(jwt), {'k':key}, ^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?