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

Update jose.py to fix the print function #28

Closed 0xSaiyajin closed 4 years ago

0xSaiyajin commented 4 years ago

Python3 gives an error when importing this module. Error message shown below:

File "/usr/local/lib/python3.7/site-packages/jose.py", line 546
    print decrypt(deserialize_compact(jwt), {'k':key},
                ^
SyntaxError: invalid syntax